• Avatar of Editor GetCodeSnippet

    About Editor GetCodeSnippet

    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 Inherit a Class in C# ASP.NET

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

    We will discuss Inheritance in C# here. Inheritance is one of the most important concepts in Object Oriented Programming. Inheritance is the ability to create a class from another class. This also provides an opportunity to reuse the code for better functionality of the program.  Instead of creating new function and data member, a...

    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 →