Skip to main content

Posts

Showing posts with the label dotNet

how to maintain session in asp 3.5 with c#

There are different ways. You can use form authentication , it's a way to do that. <system.web> <authentication mode="Forms"> <forms loginUrl="Login.aspx" protection="All" timeout="30" name=".ASPXAUTH" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="default.aspx" cookieless="UseDeviceProfile" enableCrossAppRedirects="false" /> </authentication> <authorization> <allow users="admin" /> <deny users="*" /> </authorization> </system.web> private void btnLogin_Click(object sender, System.EventArgs e) { if (Validate(txtUsername.Text, txtPassword.Text)) { FormsAuthentication.Initialize(); String strRole = txtUsername.Text; FormsAuthenticationTicket fat = new For...

What is a CLR? Basic dotnet interview question

Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework.All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program.For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL , Java has Java Virtual Machine etc. Similarly .NET has CLR.Following are the responsibilities of CLR √ Garbage Collection :- CLR automatically manages memory thus eliminating memory leakes. When objects are not referred GC automatically releases those memory thus providing efficient memory management. √ Code Access Security :- CAS grants rights to program depending on the security configuration of the machine.Example the program has rights to edit or create a new file but the security configuration of machine does not allow the program to delete a file.CAS will take care that the code runs under the environment of machines security configuration. √ Code Verification :- This ensures proper code execution and ty...

(B) Basic Question in .net(dotNet) What is a IL?

(B)What is a IL? Twist :- What is MSIL or CIL , What is JIT? (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.

Opening for Dot Net at Rheal Software - Pune

 Dot Net Openings at Rheal Software Interview at offices Address :- Bldg 4A, SP InfoCity SEZ, Pune Saswad Road, Phursungi, Pune. Monday through Friday:        10AM – 1PM & 3PM – 7PM Saturday:                              10AM – 1PM 1st ROUND Please come prepared for a written SQL examination. Unless you clear this, you will not go on to the next round. 2nd ROUND (may not be on the same day) Verbal interview on ASP.Net/VB.Net/C# and .net framework concepts Current Openings: .Net Web Developers (1 – 3 years experience) 5 openings Design and code as per clients` requirements. Communicate timely updates and status to management as needed. Should have strong knowledge of the .Net Framework Should possess strong knowledge of designing & developing web .NET applications using ASP.Net with C#/VB.Net Strong knowledge of Object Oriented...

ActiveX sample source codes - Another month, day, year dropdown creator

<script language=javascript> function fnSubmit(strPage) {   document.forms[0].action= strPage   document.forms[0].submit()    } </script> <% 'here is the call writedropdowns ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Sub writeDropDowns()   Dim strSelfLink   strSelfLink = request.servervariables("SCRIPT_NAME")   response.Write "<form name=dates method=post>" & vbcrlf   response.Write MonthDropDown("month1",False,request("month1"),strSelfLink) & " " & DayDropDown("day1", "",getDaysInMonth(request("month1"),request("year1")),request("day1")) & " ...

What kind of Applications You Can Write with C#

The .NET Framework has no restrictions on the types of applications that are possible, as discussed earlier. C# uses the framework and therefore has no restrictions on possible applications. However, here are a few of the more common application types: Windows applications. Applications, such as Microsoft Office, that have a familiar Windows look and feel about them. This is made simple by using the Windows Forms module of the .NET Framework, which is a library of controls (such as buttons, toolbars, menus, and so on) that you can use to build a Windows user interface (UI). Alternatively, you can use Windows Presentation Foundation (WPF) to build Windows applications, which gives you much greater flexibility and power. Web applications. Web pages such as those that might be viewed through any Web browser. The .NET Framework includes a powerful system for generating Web content dynamically, enabling personalization, security, and much more. This system is called ASP.NET (Ac...

.net(dotNet) Framework Platform Architecture

.Net Framework Platform Architecture : C# programs run on the .NET Framework, an integral component of Windows that includes a virtual execution system called the common language runtime (CLR) and a unified set of class libraries. The CLR is the commercial implementation by Microsoft of the common language infrastructure (CLI), an international standard that is the basis for creating execution and development environments in which languages and libraries work together seamlessly. Source code written in C# is compiled into an intermediate language (IL) that conforms to the CLI specification. The IL code and resources, such as bitmaps and strings, are stored on disk in an executable file called an assembly, typically with an extension of .exe or .dll. An assembly contains a manifest that provides information about the assembly's types, version, culture, and security requirements. When the C# program is executed, the assembly is loaded into the CLR, which might take...

Custom reports: C# .Net and Crystal Reports

Requirement     1. A system is to be required to have the activities of logging and it has to provide assorted statistical output in a manner that of graphical formats.     2. Therefore, the requirement of this particular system has to elongate some technical tactics to be fulfilled.     3. A system that can log all the activities and provide statistical output on various parameters has to be developed.     4. The system is to serve a 'Decision Support' mechanism for the senior management of the client organization at the same time it has to act as 'Reporting System' for subordinate members of the company.     5. This system should be able to accumulate data from different database formats like, MSSQL, MYSQL, MS Access, MS Excel etc. and has to process data for different logical parameters.     6. The output also has to be in graphical formats. Solution Radix has made this solut...