• Microsoft ASP.NET MVC

    Microsoft ASP.NET MVC articles, samples, code snippets, applications, books, products.

    How to Write Asynchronous Controller Class in ASP.NET MVC

    by  • January 28, 2016 • Microsoft ASP.NET MVC • 0 Comments

    First of all, we should learn, what do Asynchronous events mean? The events are asynchronous when they don’t happen at same time. Our telephone conversation is ‘synchronous’ as we have to respond after the conversation stops and email is ‘asynchronous’ as we respond whenever its convenient. Asynchronous controllers are to improve the efficiency of...

    Read more →

    How to Manage Session in ASP.NET MVC to Findout the Times our Webpage Visited

    by  • January 18, 2016 • Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    We know that HTTP is a stateless protocol, It means server retains no knowledge regarding web traffic. Now, how can we find-out, how many times people have visited our webpage during a particular time period. This can be done by using ASP.NET Session state. ASP.NET Session state enables us to store and retrieve the...

    Read more →

    How to Save the Data Submitted into SQL Database

    by  • January 11, 2016 • Microsoft ADO.NET, Microsoft ASP.NET MVC, Microsoft SQL Server • 0 Comments

    Here we will discuss, how can we save the data submitted by the user into a database. We don’t directly interact with the database. For database interaction, we have to add ADO.NET entity framework data model as we did in the previous article. After adding the ADO.NET entity framework data model, we write a two methods...

    Read more →

    How to Add ADO.NET Data Model in ASP.NET MVC

    by  • January 9, 2016 • Microsoft ADO.NET, Microsoft ASP.NET MVC • 0 Comments

    Here we would describe how to add a data model to interact with the database. ADO.NET entity framework data model handles the database interaction with the application. We don’t directly interact with the database rather we retrieve the data by writing SQL queries. We can add entity data model with the following simple steps...

    Read more →

    How to use Model Validation in ASP.NET MVC

    by  • January 6, 2016 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET MVC • 0 Comments

    When an online customer fill a data entry form, then we as a web developer, have to ensure that submitted data is in correct format. For this purpose ‘Model Validation’ is used. Validation checks the accuracy of model’s representation of the real system. Model validation means the model possess the satisfactory range of accuracy....

    Read more →