2 entries tagged csharp

Desktop Web Server in .Net

Web servers started as a solution to getting information from other sites. Then it became convenient to use HTML and HTTP on one's local-area network, and for some reason we had to call that idea an 'intranet' to make people pay attention. Sometimes it is useful to run a mini-server on the same computer as your desktop application; in this note I'll discuss this idea in the context of an application written to Microsoft's .Net platform, since that's what we use at work. Read more

Dictionary Literals in C#

C# Does not have a nice way to represent a dictionary as a single value: you can only create an empty dictionary and add entries one by one. Which is annoyingly verbose if you are used to a more reasonable programming language, Read more