What is the difference between URL and URI
A URL is the address of some resource on the Web, which means that normally you type the address into a browser and you get something back. There are other type of resources than Web pages, but that’s the easiest conceptually. The browser goes out somewhere on the Internet and accesses something. A URI is just a unique string that uniquely identifies something, commonly a namespace. Sometimes they look like a URL that you could type into the address bar of your Web browser, but it doesn’t have to point to any physical resource on the Web. It is just a unique set of characters, that, in fact, don’t even have to be unique. URI is the more generic term, and a URL is a particular type of URI in that a URL has to uniquely identify some resource on the Web.
Can I read the hard disk serial # of the client computer using ASP.NET
No. Such information is not passed to the server with a http request.
Why do I get error message ‘Error creating assembly manifest: Error reading key file ‘key.snk’ — The system cannot find the file specified’
Check the location of the key.snk file relative to the assembly file. Provide an explicit path or a relative path. <Assembly: AssemblyKeyFileAttribute(‘Drive:\key.snk’)>
How to convert a string to Proper Case
Use the namespace System.Globalization VB.NET Dim myString As String = ‘syncFusion deVeloPer sUppOrt’ ’ Creates a TextInfo based on the ‘en-US’ culture. Dim TI As TextInfo = New CultureInfo(‘en-US’, False).TextInfo Response.Write(TI.ToTitleCase(myString)) C# string myString = ‘syncFusion deVeloPer sUppOrt’; // Creates a TextInfo based on the ‘en-US’ culture. TextInfo TI = new CultureInfo(‘en-US’,false).TextInfo; Response.Write (TI.ToTitleCase( myString )); For more details refer TextInfo.ToTitleCase()
How to include multiple vb/cs files in the source
You can do this using assembly directives. <%@ assembly src=’test1.vb’ %> <%@ assembly src=’test2.vb’ %> or <%@ assembly src=’test1.cs’ %> <%@ assembly src=’test2.cs’ %> However, note that each source file will be compiled individually into its own assembly, so they cannot have dependencies on each other.