Posts

Showing posts with the label AspNet

Code First Approach with Entity Framework

Image
 1) To begin with the Code First Approach we need the below Nuget packages in our Project. Microsoft.EntityFrameworkCore Microsoft.EntityFrameworkCore.SqlServer Microsoft.EntityFrameworkCore.Tools Microsoft.EntityFrameworkCore.Design One can easily install the above packages with the nuget package manager or its command line tool. Once installed you will get the below packages stacked in the installed window of nuget package manager

Loan EMI Calculator using C#.NET

EmiCalculator.aspx (Design Code): <%@ Page Language="C#" AutoEventWireup="true" Culture="en-IN" CodeBehind="EMICalculator.aspx.cs" Inherits="AspDemo.EMICalculator" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title> </head> <body>     <form id="form1" runat="server">     <div>              <table class="auto-style1">             <tr>                 <td class="auto-style2" colspan="2"><strong>Loan EMI Calculator</strong></td>             </tr>             <tr>                 <td class="auto-style6">Amount</td>                 <td class="auto-s...

Getting toolkit for developing C# applications.

Getting Visual Studio Community Edition At very first you need to know what is Visual Studio?? Visual Studio is an IDE (Integrated Development Environment), which is used to write the code in specific programming languages, compile it, and debug it. Visual studio supports below programming languages. Visual C# Visual Basic Visual C++ Visual F# Visual J# etc..... Where to get Visual Studio You can get Visual Studio Community version from Here . You Can download Visual Studio Community edition for free from above given link. Currently Visual Studio 2017 is the latest version of the Visual Studio. I will recommend to download the latest version from the site.  Getting Microsoft SQL Server Express Microsoft SQL Server is an database server. It is available for free from Here . There two editions of SQL Server available for free (Developer Edition and Express Edition), I will prefer Express edition which is enough for .NET application development. Once these tools are downloaded you can...