1 2 3 4 5 6 > >>   Sort: Rank

What's a HashTable
What's difference between HashTable and ArrayList ? You can access array using INDEX value of array, but how many times you know the real value of index. Hashtable provides way of accessing the index using a user identified KEY value, thus removing the INDEX problem.
2021-03-07, 8126👍, 0💬

What do you know about .NET assemblies?
What do you know about .NET assemblies? Assemblies are the smallest units of versioning and deployment in the .NET application. Assemblies are also the building blocks for programs such as Web services, Windows services, serviced components, and .NET remoting applications.
2019-02-05, 3164👍, 1💬

💬 2019-02-05 M.S.: Assemblies are the units of versioning that contains deployment instructions,metadata for application,SEO capability.

How does ASP.NET maintain state in between subsequent request
How does ASP.NET maintain state in between subsequent request ? Refer caching chapter.
2019-02-05, 10508👍, 1💬

💬 2019-02-05 M.S.: There are different state management techniques Cookies,viewstate,hidden field

How do we assign page specific attributes
How do we assign page specific attributes ? Page attributes are specified using the @Page directive.
2018-01-23, 8099👍, 1💬

💬 2018-01-23 parvash: love

Which JavaScript file is referenced for validating the validators at the client side
Which JavaScript file is referenced for validating the validators at the client side ? WebUIValidation.js javascript file installed at “aspnet_client” root IIS directory is used to validate the validation controls at the client side
2016-07-17, 7518👍, 1💬

What is delay signing?
What is delay signing? Delay signing allows you to place a shared assembly in the GAC by signing the assembly with just the public key. This allows the assembly to be signed with the private key at a later stage, when the development process is complete and the component or assembly is ready to be d...
2014-12-31, 2061👍, 0💬

How do I tell the client applications that are already installed to start using this new MyApp.dll?
How do I tell the client applications that are already installed to start using this new MyApp.dll? So let’s say I have an application that uses MyApp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name MyApp.dll 1.1.0.0. How do ...
2014-12-29, 1917👍, 0💬

Can you have two files with the same file name in GAC?
Can you have two files with the same file name in GAC? Yes, remember that GAC is a very special folder, and while normally you would not be able to place two files with the same name into a Windows folder, GAC differentiates by version number as well, so it’s possible for MyApp.dll and MyApp.dll ...
2014-12-29, 1868👍, 0💬

Where’s global assembly cache located on the system?
Where’s global assembly cache located on the system? Usually C:\winnt\assembly or C:\windows\assembly.
2014-12-22, 1837👍, 0💬

How can you create a strong name for a .NET assembly?
How can you create a strong name for a .NET assembly? With the help of Strong Name tool (sn.exe).
2014-12-22, 1938👍, 0💬

Where are shared assemblies stored?
Where are shared assemblies stored? Global assembly cache.
2014-12-19, 2008👍, 0💬

How can you debug failed assembly binds?
How can you debug failed assembly binds? Use the Assembly Binding Log Viewer (fuslogvw.exe) to find out the paths searched.
2014-12-19, 2161👍, 0💬

How can you tell the application to look for assemblies at the locations other than its own install?
How can you tell the application to look for assemblies at the locations other than its own install? Use the directive in the XML .config file for a given application. <probing privatePath=”c:\mylibs; bin\debug” /> should do the trick. Or you can add additional search paths in the Prope...
2014-12-17, 1930👍, 0💬

What’s the difference between private and shared assembly?
What’s the difference between private and shared assembly? Private assembly is used inside an application only and does not have to be identified by a strong name. Shared assembly can be used by multiple applications and has to have a strong name.
2014-12-17, 2094👍, 0💬

Suppose I call a COM object from a .NET applicaiton, but COM object throws an error. What happens on the .NET end?
Suppose I call a COM object from a .NET applicaiton, but COM object throws an error. What happens on the .NET end? COM methods report errors by returning HRESULTs; .NET methods report them by throwing exceptions. The runtime handles the transition between the two. Each exception class in the .NET Fr...
2014-12-15, 1735👍, 0💬

Can you inherit a COM class in a .NET application?
Can you inherit a COM class in a .NET application? The .NET Framework extends the COM model for reusability by adding implementation inheritance. Managed types can derive directly or indirectly from a COM coclass; more specifically, they can derive from the runtime callable wrapper generated by the ...
2014-12-10, 1801👍, 0💬

I want to expose my .NET objects to COM objects. Is that possible?
I want to expose my .NET objects to COM objects. Is that possible? Yes, but few things should be considered first. Classes should implement interfaces explicitly. Managed types must be public. Methods, properties, fields, and events that are exposed to COM must be public. Types must have a public de...
2014-12-10, 1831👍, 0💬

Can you retrieve complex data types like structs from the PInvoke calls?
Can you retrieve complex data types like structs from the PInvoke calls? Yes, just make sure you re-declare that struct, so that managed code knows what to do with it.
2014-12-08, 1779👍, 0💬

How do you call unmanaged methods from your .NET code through PInvoke?
How do you call unmanaged methods from your .NET code through PInvoke? Supply a DllImport attribute. Declare the methods in your .NET code as static extern. Do not implement the methods as they are implemented in your unmanaged code, you’re just providing declarations for method signatures.
2014-12-08, 1889👍, 0💬

I can’t import the COM object that I have on my machine. Did you write that object?
I can’t import the COM object that I have on my machine. Did you write that object? You can only import your own objects. If you need to use a COM component from another developer, you should obtain a Primary Interop Assembly (PIA) from whoever authored the original object. The answer to (5) is o...
2014-12-04, 1945👍, 0💬

How do you generate an RCW from a COM object?
How do you generate an RCW from a COM object? Use the Type Library Import utility shipped with SDK. tlbimp COMobject.dll /out:.NETobject.dll or reference the COM library from Visual Studio in your project.
2014-12-04, 1919👍, 0💬

So can a COM object talk to a .NET object?
So can a COM object talk to a .NET object? Yes, through Runtime Callable Wrapper (RCW) or PInvoke.
2014-12-02, 1752👍, 0💬

Are COM objects managed or unmanaged?
Are COM objects managed or unmanaged? Since COM objects were written before .NET, apparently they are unmanaged. Any code not written in the Microsoft .NET framework environment is UNMANAGED. So naturally COM+ is unmanaged because it is written in Visual Basic 6.
2014-12-02, 1994👍, 0💬

Describe the advantages of writing a managed code application instead of unmanaged one. What’s involved in certain piece of co
Describe the advantages of writing a managed code application instead of unmanaged one. What’s involved in certain piece of code being managed? The advantages include automatic garbage collection, memory management, support for versioning and security. These advantages are provided through .NET F...
2014-11-19, 1870👍, 0💬

1 2 3 4 5 6 > >>   Sort: Rank