<< < 8 9 10 11 12 13 14 15 16 17 18 > >>   Sort: Rank

What is Serialization in .NET?
What is Serialization in .NET? Anwer1 The serialization is the process of converting the objects into stream of bytes. they or used for transport the objects(via remoting) and persist objects(via files and databases) Answer2 When developing smaller applications that do not have a database (or other ...
2013-12-02, 1555👍, 0💬

What are the authentication methods in .NET?
What are the authentication methods in .NET? There are 4 types of authentications. 1.WINDOWS AUTHENTICATION 2.FORMS AUTHENTICATION 3.PASSPORT AUTHENTICATION 4.NONE/CUSTOM AUTHENTICATION The authentication option for the ASP.NET application is specified by using the tag in the Web.config file, as sho...
2013-11-26, 1557👍, 0💬

What is the difference between VB 6 and VB.NET?
What is the difference between VB 6 and VB.NET? Answer1 VB 1,Object-based Language 2,Doesnot support Threading 3,Not powerful Exception handling mechanism 4,Doesnot having support for the console based applications 5,Cannot use more than one version of com objects in vb application called DLL error ...
2013-11-26, 1639👍, 0💬

When displaying fonts, what’s the difference between pixels, points and ems?
When displaying fonts, what’s the difference between pixels, points and ems? A pixel is the lowest-resolution dot the computer monitor supports. Its size depends on user’s settings and monitor size. A point is always 1/72 of an inch. An em is the number of pixels that it takes to display the l...
2013-11-25, 1592👍, 0💬

Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically?
Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically? By using System.Drawing.SystemIcons class, for example System.Drawing.SystemIcons.War ningproduces an Icon with a warning sign in it.
2013-11-25, 1569👍, 0💬

What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it?
What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it? No, Icon lives in System.Drawing namespace. It’s not a Bitmap by default, and is treated separately by .NET. However, you can use ToBitmap method to get a valid Bitmap object from a valid Icon object.
2013-11-22, 1540👍, 0💬

How can you assign an RGB color to a System.Drawing.Color object?
How can you assign an RGB color to a System.Drawing.Color object? Call the static method FromArgb of this class and pass it the RGB values.
2013-11-22, 1609👍, 0💬

With these events, why wouldn’t Microsoft combine Invalidate and Paint, so that you wouldn’t have to tell it to repaint, and
With these events, why wouldn’t Microsoft combine Invalidate and Paint, so that you wouldn’t have to tell it to repaint, and then to force it to repaint? Painting is the slowest thing the OS does, so usually telling it to repaint, but not forcing it allows for the process to take place in the ...
2013-11-21, 1636👍, 0💬

How do you trigger the Paint event in System.Drawing?
How do you trigger the Paint event in System.Drawing? Invalidate the current form, the OS will take care of repainting. The Update method forces the repaint.
2013-11-21, 1720👍, 0💬

I am constantly writing the drawing procedures with System.Drawing.Graphics, but having to use the try and dispose blocks is to
I am constantly writing the drawing procedures with System.Drawing.Graphics, but having to use the try and dispose blocks is too time-consuming with Graphics objects. Can I automate this? Yes, the code System.Drawing.Graphics canvas = new System.Drawing.Graphics(); try { //some code } finally canvas...
2013-11-20, 1613👍, 0💬

Differences between Datagrid, Datalist and Repeater?
Differences between Datagrid, Datalist and Repeater? 1. Datagrid has paging while Datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizontal. (This is of great help in designing layouts). This is not there in Datagrid. 3. A repeater is used when more intimate control ...
2013-11-20, 1557👍, 0💬

What is "Microsoft Intermediate Language" (MSIL)?
What is "Microsoft Intermediate Language" (MSIL)? A .NET programming language (C#, VB.NET, J# etc.) does not compile into executable code; instead it compiles into an intermediate code called Microsoft Intermediate Language (MSIL). As a programmer one need not worry about the syntax of MSIL - since ...
2013-11-19, 1653👍, 0💬

What is Delegation?
What is Delegation? A delegate acts like a strongly type function pointer. Delegates can invoke the methods that they reference without making explicit calls to those methods. Delegate is an entity that is entrusted with the task of representation, assign or passing on information. In code sense, it...
2013-11-19, 1740👍, 0💬

How can you automatically generate interface for the remotable object in .NET with Microsoft tools?
How can you automatically generate interface for the remotable object in .NET with Microsoft tools? Use the Soapsuds tool.
2013-11-18, 1728👍, 0💬

Can you configure a .NET Remoting object via XML file?
Can you configure a .NET Remoting object via XML file? Yes, via machine.config and application level .config file (or web.config in ASP.NET). Application-level XML settings take precedence over machine.config.
2013-11-18, 1574👍, 0💬

How do you define the lease of the object?
How do you define the lease of the object? By implementing ILease interface when writing the class code.
2013-11-15, 1616👍, 0💬

What’s Singleton activation mode?
What’s Singleton activation mode? A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease.
2013-11-15, 1574👍, 0💬

What’s SingleCall activation mode used for?
What’s SingleCall activation mode used for? If the server object is instantiated for responding to just one single request, the request should be made in SingleCall mode.
2013-11-14, 1592👍, 0💬

Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs?
Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs? Binary over TCP is the most effiecient, SOAP over HTTP is the most interoperable.
2013-11-14, 1603👍, 0💬

What is a formatter?
What is a formatter? A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end.
2013-11-13, 1608👍, 0💬

What security measures exist for .NET Remoting in System.Runtime.Remoting?
What security measures exist for .NET Remoting in System.Runtime.Remoting? None. Security should be taken care of at the application level. Cryptography and other security techniques can be applied at application or server level.
2013-11-13, 1585👍, 0💬

What are channels in .NET Remoting?
What are channels in .NET Remoting? Channels represent the objects that transfer the other serialized objects from one application domain to another and from one computer to another, as well as one process to another on the same box. A channel must exist before an object can be transferred.
2013-11-12, 1618👍, 0💬

What are remotable objects in .NET Remoting?
What are remotable objects in .NET Remoting? Remotable objects are the objects that can be marshaled across the application domains. You can marshal by value, where a deep copy of the object is created and then passed to the receiver. You can also marshal by reference, where just a reference to an e...
2013-11-12, 1579👍, 0💬

What’s a proxy of the server object in .NET Remoting?
What’s a proxy of the server object in .NET Remoting? It’s a fake copy of the server object that resides on the client side and behaves as if it was the server. It handles the communication between real server object and the client object. This process is also known as marshaling.
2013-11-11, 1573👍, 0💬

<< < 8 9 10 11 12 13 14 15 16 17 18 > >>   Sort: Rank