Owner: dot net made easy URL:http;//dotnetpoint.blogspot.com Join Date: Sun, 17 Feb 2008 01:17:34 -0600 Rating:0 Site Description: asp.net,vb.net,c #,faq's,real time questions, dot net frame work,microsoft dot net,dot net tutorial, dot net certification ,debugging,dot net tips,dot net programes,dot net lessons,dot net faq's,interview questions. Site statistics:Click here
Caching in ASP.NET 2008-03-22 00:58:00 ASP.NET has introduced various new features to the server-side programming model. These new features have made it easier to cache application data, and hence enhance the performance of Web applications. For example, unlike classic ASP, wherein the code is interpreted, all code in ASP.NET is compiled before execution, resulting in huge performance gains. After the code for an ASP.NET Web page is compiled, all future requests for that page are handled by the compiled code without requiring any recompilation until a change is made to the original ASP.NET page. Also, when a page is accessed for the first time, the code is compiled depending on user needs. For example, if there are 10 functions in an ASP.NET Web page, only those functions are compiled into native machine code, which are needed
Understanding Caching in ASP.NET 2008-03-21 07:10:00 Usually, Web sites (Web applications) are accessed by multiple users. On certain days, a Web site can experience an extremely low load and, as a result, provide faster access. However, in just a few hours, the load on the site can increase exponentially, resulting in slow access. Slow access is the most common problem that plagues a Web site when it is accessed by a large number of users simultaneously.However, load is not the only reason why a Web site is slow. Other physical aspects affect speed, such as the type of modem, Internet connection, and telephone line. Therefore, it might not be good business sense to invest in high-grade hardware that handles the entire load just to improve the access speed, because the heavy load is only temporary and not constant.It would be better if acces Read more:Understanding
ASP.NET Security 2008-03-24 02:33:00 The reasons to secure a Web site are well known and thus do not require a detailed discussion. A few of the reasons for securing a Web site include transfer of sensitive data over the Internet, exchange of sensitive data between Web applications, and risks of hack attacks.Security is a critical issue for both Web application developers and administrators alike. It is undoubtedly one of the most confusing areas, and hence requires careful planning and designing. Web site developers and administrators must have a clear understanding of the various options, such as authentication, for securing their sites.Security, in the context of an ASP.NET application, involves three fundamental operations. These operations are carried out during the lifetime of each secure ASP.NET Web application and are
ASP.NET Configuration System 2008-03-28 10:36:00 When you install a new application, you may be required to configure it. For example,you may need to provide information about the amount of memory to be used by the application. In addition, you may need to specify application-specific information, such as the path for the data source. A configuration system provides all this information for an application, which may be used at the time of or after the deployment of the application.A Web application should provide a flexible configuration system that allows configuration settings to be easily applied to the application. It should also facilitate easy customization of configuration settings after the deployment of the application so that changes in the configuration settings can be applied to the application without having to recompile the Read more:Configuration
, System
Exchanging Messages in asp.net 2008-04-02 08:19:00 Web services communicate in the form of messages. A request message delivers information about an operation to be executed and any data required to carry out that operation. Request messages flow from clients to Web services. A response message delivers information about the results of the operation execution. Response messages flow from Web services to clients.Communication via messages is an extremely effective method for insulating Web service consumers from the implementation details of the service. Of course, it is necessary to define, in a standard way, the rules for how these messages should be formatted and what they can contain.Message exchange with SOAPThe Simple Object Access Protocol (SOAP) is an industry-standard message format that enables message-based communication for Web
Web Services Infrastructure IN ASP.NET 2008-04-04 06:57:00 Although it is possible to build or consume Web services on a platform with support for only the core technologies (XML, TCP/IP, HTTP, and SOAP), it is certainly not a task suited for the beginning programmer or the easily intimidated.The power of the infrastructure on which the Microsoft Web Services
implementation is built is embodied in the basic design principal that Web services should be simple to create and easy to consume. Rather than waste your time writing Web service infrastructure code, you should be able to focus your time and energy on the actual functionality of your application and let the platform do the rest.The technologies and tools provided in the Microsoft .NET Framework do just that. These technologies give you an excellent, easy-to-use platform for building and cons Read more:Infrastructure
SOAP in the .NET Framework 2008-04-07 02:11:00 Fortunately, everything that we have discussed related to SOAP up to this point is largely unnecessary with respect to implementing simple ASP.NET Web Services, because ASP.NET and the .NET Framework
automatically generate and process SOAP messages for your Web service, leaving you to focus on writing the logic of your Web service application using a familiar object-oriented design approach.However, more sophisticated Web services may require access to the SOAP messages in order to add custom headers, examine incoming/outgoing SOAP messages, or otherwise alter the default format of messages generated by the .NET XML serializer when interoperating with SOAP message processors on other platforms.If SOAP message customization becomes necessary for a particular Web service that you wish to imp
Debugging in visual studio .net 2008-05-03 02:00:00 The debugger is your friend. There is simply no more powerful tool than a debugger for learning C# and for writing quality C# programs. The debugger helps you understand what is really going on when your program is running. It is the x-ray of software development, allowing you to see inside programs and diagnose potential problems. Without a debugger you are guessing; with a debugger you are seeing. It is as simple as that. Whatever time you invest in learning to use your debugger is time well spent. The debugger is also a powerful tool for understanding code written by others. By putting someone else's code into the debugger and stepping through it, you can see exactly how the methods work and what data they manipulate. This book assumes you are working with Visual Studio .NE
Inside Methods in visual studio .net 2008-05-03 01:55:00 Often you'll want to have more than one method with the same name. The most common example of this is to have more than one constructor with the same name, which allows you to create the object with different parameters. For example, if you were creating a Time object, you might have circumstances where you want to create the Time object by passing in the date, hours, minutes, and seconds. Other times, you might want to create a Time object by passing in an existing Time object. Still other times, you might want to pass in just a date, without hours and minutes. Overloading the constructor allows you to provide these various options.It would be convenient also to allow the client to create a new Time object by passing in year, month, date, hour, minute, and second values. Some cl Read more:Methods
Combining Interfaces in c sharp 2008-05-23 06:58:00 You can also create new interfaces by combining existing interfaces and optionally adding new methods or properties. For example, you might decide to combine the definitions of IStorable and ICompressible into a new interface called IStorableCompressible. This interface would combine the methods of each of the other two interfaces, but would also add a new method, LogOriginalSize(), to store Read more:Interfaces
, sharp
Arrays and c sharp 2008-05-26 03:43:00 An array is an indexed collection of objects, all of the same type (e.g., all ints, all strings, etc.). C# provides a native syntax for the declaration of Array objects: int[] myArray; When you declare an array, you actually create an instance of the Array class in the System namespace (System.Array). Arrays in C# thus provide you with the best of both worlds: easy-to-use syntax built into the Read more:sharp
Explicit Interface Implementation in c sharp 2008-05-26 03:38:00 In the implementation shown so far, the implementing class (Document) creates a member method with the same signature and return type as the method detailed in the interface. It is not necessary to explicitly state that this is an implementation of an interface; this is understood by the compiler implicitly. What happens, however, if the class implements two interfaces, each of which has a m Read more:sharp
, Explicit
, Interface
, Implementation
Collection Interfaces and c sharp 2008-05-27 06:26:00 Every collection has certain shared characteristics, which are captured by the collection interfaces. The .NET Framework provides standard interfaces for enumerating, comparing, and creating collections.By implementing the collection interfaces, your custom class provides the same semantics as the collection classes available through the .NET Framework. IEnumerable Enumerates through a c Read more:Interfaces
, sharp
Strings Creation in C Sharp 2008-05-28 09:37:00 C# treats strings as if they were built-in types. C# strings are flexible, powerful, and easy to use. In .NET, each string object is an immutable sequence of Unicode characters. In other words, methods that appear to change the string actually return a modified copy; the original string remains intact. The declaration of the System.String class is: public sealed class String : IComparable, Read more:Creation
EXCEPTIONS IN C SHARP INTRODUCTION 2008-05-31 04:06:00 All exceptions are either of type System.Exception or of types derived from System.Exception. The CLR System namespace includes a number of exception types that can be used by your program. These exception types include ArgumentNullException, InvalidCastException, and OverflowException, as well as many others. You can guess their use based on their name. For example, ArgumentNull exception is
Software Company Hirachy 2008-06-15 03:57:00 Following are the number of years of experience according to position.√ Junior engineers are specially fresher and work under software engineers.√ Software
engineers have around 1 to 2 years of experience. Interviewer expects software engineers to be technically at a medium level.√ Senior Software Engineers have around 2 to 4 years of experience. Interviewer expects them to technically be ve
Resume preparation for software jobs 2008-06-17 10:01:00 Use plain text when you are sending resumes through email.√ Attach a covering letter it really impresses and makes you look traditionally formal.Yes, even if you are sending your CV through email send a covering letter.Check list Start with an objective or summary, for instance, “Working as a Senior Database administrator for more than 4 years. Implemented quality web based application.Follow Read more:Resume
, preparation
DOT NET FAQ'S ON GARBAGE COLLECTION 2008-06-26 08:05:00 What is Delay signing ?During development process you will need strong name keys to be exposed to developer whichis not a good practice from security aspect point of view.In such situations you can assign the keylater on and during development you an use delay signingFollowing is process to delay sign an assembly:√ First obtain your string name keys using SN.EXE.√ Annotate the source code for
Dot net FAQ's on Manifest and Assemblies 2008-06-25 06:54:00 What is Manifest?Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do thefollowing things :√ Version of assembly√ Security identity√ Scope of the assembly√ Resolve references to resources and classes.√ The assembly manifest can be stored in either a PE file (an .exe or .dll) with Microsoft intermediate language (MSIL) code or in a stand-alone PE file t
Dot net Interview Questions on Assebblies 2008-06-23 05:02:00 What is a Assembly?√ Assembly is unit of deployment like EXE or a DLL.√ An assembly consists of one or more files (dlls, exe’s, html files etc.), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain references to other assemblies. These resources, types and references are described in a block of data called a manifest.The ma
DOT NET FRAME WORK FAQ ONE 2008-06-22 11:03:00 (IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL(Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler.What is a CLR?Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework.A
CODEDOM in Dot Net Technology 2008-07-06 10:02:00 “CodeDom” is an object model which represents actually a source code. It is designed to belanguage independent - once you create a “CodeDom” hierarchy for a program we can thengenerate the source code in any .NET compliant language. So let’s try to do something realpractical and simple to just get a feel of how powerful “CodeDom” is.Note :- You can get the source code in CD in “Cod Read more:Technology
Native Image Generator in Microsoft dot net 2008-07-05 08:52:00 The NativeImageGenerator
utility (Ngen.exe) allows you to run the JIT compiler on your assembly'sMSIL and generate native machine code which is cached to disk.After the image is created .NETruntime will use the image to run the code rather than from the hard disk. Running Ngen.exe onan assembly potentially allows the assembly to load and execute faster, because it restores codeand data structure Read more:Microsoft
DOT NET FAQ'S ON GARBAGE COLLECTION 2008-06-26 08:05:00 What is Delay signing ?During development process you will need strong name keys to be exposed to developer whichis not a good practice from security aspect point of view.In such situations you can assign the keylater on and during development you an use delay signingFollowing is process to delay sign an assembly:√ First obtain your string name keys using SN.EXE.√ Annotate the source code for
Dot net FAQ's on Manifest and Assemblies 2008-06-25 06:54:00 What is Manifest?Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do thefollowing things :√ Version of assembly√ Security identity√ Scope of the assembly√ Resolve references to resources and classes.√ The assembly manifest can be stored in either a PE file (an .exe or .dll) with Microsoft intermediate language (MSIL) code or in a stand-alone PE file t
Dot net Interview Questions on Assebblies 2008-06-23 05:02:00 What is a Assembly?√ Assembly is unit of deployment like EXE or a DLL.√ An assembly consists of one or more files (dlls, exe’s, html files etc.), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain references to other assemblies. These resources, types and references are described in a block of data called a manifest.The ma
DOT NET FRAME WORK FAQ ONE 2008-06-22 11:03:00 (IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL(Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler.What is a CLR?Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework.A
HR QUESTIONS FOR DOT NET INTERVIEW 2008-06-21 00:54:00 One of the first questions asked during interview is “Can you say something aboutyourself ”?√ Can you describe about your self and what you have achieved till now?√ Why do you want to leave the current company?√ Where do you see yourself after three years?What are your positive and negative points?√ How much do you rate yourself in .NET and SQL Server in one out of ten?√ Are you look
Salary Negotiation for a Software Job 2008-06-18 06:52:00 Do a study of what is the salary trend? For instance have some kind of baseline. For example what is the salary trend on number of year of experience? Discuss this with your friends out.√ Do not mention your expected salary on the resume?√ Let the employer first make the salary offer. Try to delay the salary discussion till theend.√ If they say what you expect ?, come with a figure with a li Read more:Salary
, Negotiation
, Software
Resume preparation for software jobs 2008-06-17 10:01:00 Use plain text when you are sending resumes through email.√ Attach a covering letter it really impresses and makes you look traditionally formal.Yes, even if you are sending your CV through email send a covering letter.Check list Start with an objective or summary, for instance, “Working as a Senior Database administrator for more than 4 years. Implemented quality web based application.Follow Read more:Resume
, preparation