ASP. NET Interview Questions And Answers.Question 1 What is ASP.NET Answer ASP. NET was developed in direct response to the problems that developers had with classic ASP.Since ASP is in such wide use, however, Microsoft ensured that ASP scripts execute without modification on a machine with the.NET Framework the ASP engine, ASP.DLL, is not modified when installing the.NET Framework. Thus, IIS can house both ASP and ASP.NET scripts on the same machine.Advantages of ASP.NETSeparation of Code from HTML To make a clean sweep, with ASP.NET you have the ability to completely separate layout and business logic.This makes it much easier for teams of programmers and designers to collaborate efficiently.Support for compiled languages Developer can use VB.NET and access features such as strong typing and object oriented programming.Using compiled languages also means that ASP.NET pages do not suffer the performance penalties associated with interpreted code.ASP. NET pages are precompiled to byte code and Just In Time JIT compiled when first requested.Subsequent requests are directed to the fully compiled code, which is cached until the source changes.Use services provided by the.Here I will explain how to export gridview data with images to excel or word file formats in asp.NET Framework The.NET Framework provides class libraries that can be used by your application.Some of the key classes help you with inputoutput, access to operating system services, data access, or even debugging.We will go into more detail on some of them in this module.Graphical Development Environment Visual Studio.Aspdotnetsuresh offers C.VB. NET Articles,Gridview articles,code examples of asp.Scott Mitchell. Hello My name is Scott Mitchell and I am a web developer who has been working with Microsofts ASP and ASP.NET technologies since 1998, when I.Af.gif' alt='Add Edit Delete In Gridview In Asp Net Vb Net Background' title='Add Edit Delete In Gridview In Asp Net Vb Net Background' />Select a row in an aspGridView without using a Select Command ASP. Windows 7 Professional Serial Crack Codes . Nets GridViews can be quite useful, but beware of binding them to huge datasets as this has an.NET provides a very rich development environment for web developers.You can drag and drop controls and set properties the way you do in Visual Basic 6.And you have full Intelli.Sense support, not only for your code, but also for HTML and XML.State management To refer to the problems mentioned before, ASP.NET provides solutions for session and application state management.State information can, for example, be kept in memory or stored in a database.It can be shared across web farms, and state information can be recovered, even if the server fails or the connection breaks down.Update files while the server is running Components of your application can be updated while the server is online and clients are connected.The framework will use the new files as soon as they are copied to the application.Removed or old files that are still in use are kept in memory until the clients have finished.XML Based Configuration Files Configuration settings in ASP.NET are stored in XML files that you can easily read and edit.You can also easily copy these to another server, along with the other files that comprise your application.ASP. NET Overview.Here are some points that give the quick overview of ASP.NET. ASP. NET provides services to allow the creation, deployment, and execution of Web Applications and Web Services.Like ASP, ASP. NET is a server side technology.Web Applications are built using Web Forms.ASP. NET comes with built in Web Forms controls, which are responsible for generating the user interface.They mirror typical HTML widgets like text boxes or buttons.If these controls do not fit your needs, you are free to create your own user controls.Web Forms are designed to make building web based applications as easy as building Visual Basic applications.For further information click on the link Question 2 What are the different validators in ASP.NET Answer ASP. NET validation controls define an important role in validating the user input data.Whenever the user gives the input, it must always be validated before sending it across to various layers of an application.If we get the user input with validation, then chances are that we are sending the wrong data.So, validation is a good idea to do whenever we are taking input from the user.There are the following two types of validation in ASP.NET Client Side Validation.Server Side Validation.Client Side Validation When validation is done on the client browser, then it is known as Client Side Validation.We use Java. Script to do the Client Side Validation.Server Side Validation When validation occurs on the server, then it is known as Server Side Validation.Server Side Validation is a secure form of validation.The main advantage of Server Side Validation is if the user somehow bypasses the Client Side Validation, we can still catch the problem on server side.The following are the Validation Controls in ASP.NET Required. Field.Validator Control.Compare. Validator Control.Range. Validator Control.Regular. Expression.Validator Control.Custom. Field. Validator Control.Validation. Summary.For further information click on the link Question 3 What is View State Answer View State is the method to preserve the Value of the Page and Controls between round trips.It is a Page Level State Management technique.View State is turned on by default and normally serializes the data in every control on the page regardless of whether it is actually used during a post back.A web application is stateless.That means that a new instance of a page is created every time when we make a request to the server to get the page and after the round trip our page has been lost immediately.Features of View State.These are the main features of view state Retains the value of the Control after post back without using a session.Stores the value of Pages and Control Properties defined in the page.Creates a custom View State Provider that lets you store View State Information in a SQL Server Database or in another data store.Advantages of View State.Easy to Implement.No server resources are required The View State is contained in a structure within the page load.Enhanced security features It can be encoded and compressed or Unicode implementation.For further information click on the link Question 4 What are the different Session state management options available in ASP.NET Answer State Management in ASP.NETA new instance of the Web page class is created each time the page is posted to the server.In traditional Web programming, all information that is associated with the page, along with the controls on the page, would be lost with each roundtrip.The Microsoft ASP.NET framework includes several options to help you preserve data on both a per page basis and an application wide basis.These options can be broadly divided into the following two categories Client Side State Management Options.Server Side State Management Options.Client Side State Management.Client based options involve storing information either in the page or on the client computer.Some client based state management options are Hidden fields.View state. Cookies.Query strings. Server Side State Management.There are situations where you need to store the state information on the server side.Server side state management enables you to manage application related and session related information on the server.ASP. NET provides the following options to manage state at the server side Application state.Session state. For further information click on the link Question 5 What is caching in ASP.NET Answer Caching is one of the most interesting concept and operation in ASP.NET. If you can handle it, you can run any web application by applying the caching concept depending on the requirements.Caching is for providing solutions or the results to the users depending on their request, admin needs to recreate the pages often depending on user requestsSTOP A cache simply stores the output generated by a page in the memory and this saved output cache will serve us users in the future.Types. For further information click on the link Question 6 How can we apply themes in ASP.NET application Answer A theme is a collection of settings that define the look of controls and web pages.These themes are applied across all the pages in a web application to maintain a consistent appearance.Themes are included images and skin files the skin files set the visual properties of ASP.NET controls. Themes are of two types Page Theme.A Page theme contains the control skins, style sheets, graphic files, and other resources inside the subfolder of the AppTheme folder in the Solution Explorer window.A page theme is applied to a single page of the web site.Global Theme. A Global theme is a theme that is applied to all the web sites on a web server and includes property settings, and graphics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |