Thursday, 8 August 2024

.Net Core with Data First approach

 Code for Create Model in Models folder in Project as same as in Database table.Scaffold-DbContext "Data Source=DESKTOP-L20DF1I\RAMUDB;Initial Catalog=EventDatabase;Integrated Security=True; user id=sa;Password=********" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Mod...

Wednesday, 7 August 2024

.Net Core Image

&nb...

Tuesday, 15 December 2015

How to Create Restful Service in WCF

How to create restful service in WCF Web .config <?xml version="1.0" encoding="utf-8"?> <configuration>   <configSections>     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0,...