• Microsoft ASP.NET

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

    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 post data using JQuery in ASP.NET Web Api?

    by  • November 19, 2015 • Microsoft .NET AJAX, Microsoft .NET Framework, Microsoft .NET Web Services, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    ASP.NET Web API is a framework for building and consuming HTTP services that can reach a broad range of clients including browsers, phones and tablets. You can use XML or JSON or something else with your API. JSON is nice for mobile apps with slow connections, for example. You can call an API from...

    Read more →

    How to print directly report using Web Client Print with enables authentication in ASP.NET MVC?

    by  • November 6, 2015 • Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    In previous article, you have read how to use Web Client Print in ASP.NET MVC. I also discussed that Web Client Print did not work with enabled window authentication. In this I will explain how Web Client Print works with enable window authentication in ASP.NET MVC. Utils.cs: Add a folder with name App_Code and...

    Read more →

    How to print direct report (.rdlc) using Web Client Print in ASP.NET MVC?

    by  • November 5, 2015 • Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    WebClientPrint for ASP.NET is a solution for Client-side printing scenarios for Windows, Linux and MAC OS X clients, designed for ASP.NET Web Forms and MVC website projects. We can directly print any file without showing or displaying any print dialog box with WebClientPrint. With the WebClientPrint , you can easily send any data to...

    Read more →

    How to Encrypt and Decrypt URL or Data using C# in ASP.NET MVC?

    by  • November 3, 2015 • Microsoft .NET C# (C-Sharp), Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    In any web application there are always security related problem occurs when user change something in URL’s value. When passing any sensitive data from navigation then it may problem occurs when use can change it and hake any of the data. So better option is store this value in session but every time this...

    Read more →

    How to used localStorage and sessionStorage of HTML5 to store data in ASP.NET MVC?

    by  • October 28, 2015 • Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    Often, many developers use localStorage and sessionStoarage of HTML5 to store data in ASP.NET. Local Storage improves the performance of our data-driven ASP.NET applications by caching data in the browser persistently. Local Storage saves data for a long time. The localStorage object stores the data with no expiration date. The data will not be...

    Read more →

    How to add Form/Window Authentication and Custom Error in ASP.NET?

    by  • October 27, 2015 • Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    Introduction In authentication we check whether the user tying to log in is the correct one or not. Authorization on the other hand is keeping track of what the current user is allowed to see and what should be hidden from him. Type of Authentications There are two main type of authentication in ASP.NET?...

    Read more →

    How to pass table valued parameter to a stored procedure in ASP.NET

    by  • May 29, 2014 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET, Microsoft VB.NET • 0 Comments

    In my previous article, I have shown that how to create a table valued parameter store procedure and how we can pass table valued parameter in SQL Server.Here, in this article, I will show you that how you can pass table valued parameter and call a stored procedure in ASP.NET. You have to add...

    Read more →