ASP.NET

How To Post Data In ASP.NET Using AJAX  Form Serialization

How To Post Data In ASP.NET Using AJAX Form Serialization

Welcome to mycodebit. When we work with ASP.NET (Core) MVC we have to submit the forms through razor pages so, in this article, we discuss How To Post Data In ASP.NET Using AJAX Form Serialization. I'm using visual studio 2019 for this tutorial. If you have not created the project yet please follow this link to create a new project. Steps: Let's first create a model that we will use to submit the form data and we will create this model class as per our requirement to transfer data. public class SubmitPersonalInfo { public string Name { get; set; }…
Read More
Introduction to ADO.NET Architecture – Details Explanation For Data Source and Data Provider

Introduction to ADO.NET Architecture – Details Explanation For Data Source and Data Provider

Although the ADO(dot)NET library has a not too complicated architecture, it contains many classes. Each class has many ways of instantiating using each other's objects. This makes many newcomers to ADO.NET feel confused and confused. Actually, if you understand the architecture of the ADO.NET library, everything will be much simpler and easier to understand.This lesson will show you in detail the ADO.NET architecture, the main components of the ADO.NET library, the data sources that ADO.NET can access, the concepts and data providers for ADO.NET Architecture.By the end of the lesson you'll have a systematic look at ADO.NET and its key…
Read More
How to Boost Productivity as .NET Developer in Visual Studio

How to Boost Productivity as .NET Developer in Visual Studio

Welcome to mycodebit.com. Today we will discuss How to Boost Productivity as .NET Developer in Visual Studio 2022. Visula Studio is a Microsoft IDE that is used to develop many web, console and windows application. It is used in daily life of .NET developers so new .NET developer doesn't know the full features of Visual Studio that can increase the developer productivity dramatically. No one can denny that Visual studio is getting better in every release but without using its full power we can not increase the productivity as a .NET developers. I have listed some key features of Visual…
Read More
How to Generate Random Numbers in C#

How to Generate Random Numbers in C#

In this article, we are going to learn How to Generate Random Numbers in C#. C# provides us a class to generate random numbers that is named "Random". In random class, we can use the predefined method "Next()" to generate random numbers and numbers within a self-defined range. Let's move forward to code to see how does this class works. To use Random class and access its methods we have to initialize first the "Random" class with the new Keyword and after initializing e can access its members by its constructor. var random = new Random(); int num = random.Next();…
Read More
What is ASP.NET Repeater Controls

What is ASP.NET Repeater Controls

In this article we are going to discuss ASP.NET Repeater Controls in the detail and How to use repeater controls in ASP.NET. Intro: ASP.NET repeater control is used to display repeated records that are bound to the controls.  Repeater control can be bound to database records, XML, or with the list of items. Repeater control is a data bind control and creates a link between source of record (Database) and presentation UI to display records. In short repeater control in simple container that display specific database records in the table form. It provides different layouts to display the records. It…
Read More
ASP.NET MVC Interview Questions

ASP.NET MVC Interview Questions

The most sensitive and challenging time for a developer is interview time. If you are preparing for an ASP.NET MVC Interview Questions, you should know the top questions and answers of ASP.NET MVC that we listed below after significant research in the software industry. 1. What is MVC? MVC stands for Model View Controller. MVC was designed in 1970 and widely adopted on the web. It is a framework/architecture to build applications efficiently. As you can understand by its name MVC contains three portions/layers Model, View and Controller. Now the question is, what is Model View Controller. Model handles the data…
Read More
What is ASP.NET Page Life Cycle

What is ASP.NET Page Life Cycle

ASP.NET Page Life Cycle is when a page is requested there are series of processes to load it on user side. These series of processes needs to be completed to load a page succesfully on user end. When a page is requested by user the page is loaded into the server memory and sent it to the user-end(browser). So these series processed like initialization, instantiation, restoring and maintaining state etc are performed on server. Developers needs to understand this ASP.NET page life cycle to override it on custom requirement. Let's look these processes/phases into details. Page Request: This phase occurs…
Read More
How to Improve ASP.NET Website Performance

How to Improve ASP.NET Website Performance

In online business ASP.NET website performance or web application performance matters a lot. If your ASP.NET website is not optimized so the audience will press the back button and open an alternative. If you have an ASP.NET Application and it's not optimized. The audience will sooner or later start complaining or find an alternative. Whenever we talk about user-friendly applications the optimization and performance are some of the key factors that we count first. When we develop an ASP.NET Application we should take care of what elements we are using and how can we optimize each component better. If we…
Read More