.NET - Is it possible to use ASP.NET without MVC using HTML 5?
A link would be great. Thanks. ...
A link would be great. Thanks. ...
There was a question asked about how to sort a List. There were several methods given from the basic List.Sort() to List.OrderBy(). The most laughable was a roll-your-own-SelectionSort. I promptly voted that down, but it made me think; wouldn't Linq's OrderBy(), applied to a list, do the same thing? myList.OrderBy(x=>x.Property).ToList()...
Firstly let me clarify (if the title wasn't clear enough): I'm discussing System.Windows.Controls.DataGrid from the .NET 4.0 Framework, not the toolkit edition. I'm currently building up a small re-usable set of classes/view models/etc in my project to build a rather powerfull DataGrid for my application. Now, by default given an IEnu...
I want to generate some medical records to CCR and CCD files. I have no idea to handle this. Is there any .net liberary to do this? thank you so much. ...
I'm writing an application that creates a "Catalog" of files, which can be attributed with other meta data files such as attachments and thumbnails. I'm trying to abstract the interface to a catalog to the point where a consumer of a catalog does not need to know about the underlying file system used to store the files. So I've created ...
I'm using the CSharpCodeProvider to compile a CodeDom object into an assembly. The application itself is running under .NET 4.0. However I need the output from CompileAssemblyFromDom to build against .NET 2.0 for compatibility with some external resources. How can I tell the CSharpCodeProvider to build against .NET 2.0? ...
I got test server which I would like to use for CI too. Plan is to setup Hudson that listens to git repository, on new commit fetches changes, builds solution, runs tests (picks up output), setups test environment web application if everything looks green and shows Chuck Norris. I'm struggling with first part (git ports are closed atm ...
I'm loading third party webpage that contains following code <script type="text/javascript"> onDomReady(function() { some_code1; }); </script> into WebBrowser component. After some_code1 had executed I need to do some manipulations with Dom that will make some_code1 invalid. The question is how to determine that some_code1 had execute...
For those of you who play MW2 on the PC you know it is plagued by hackers and cheaters. I would like to create a solution where the host of a multi player game can selectively firewall out a cheater. The problem I am running into is I do not know how to locate remote IPs that are sending or receiving UDP packets. Netstat will only show ...
What would be a good way to do it? I don't need code, just ideas. Thanks. ...
Running asp.net mvc 2 on win 7 with .net 4.0 I have a controller action method that receives 2 DateTime objects from a form. The UI on the form uses the jQueryUi datepicker (not sure if that maters). The user who fills out that form will ALWAYS be entering the date/time in Hawaiian time zone. I want to convert that to UTC time and ...
I just generated a few million GUID's turned them into a String and got the length... it was always the same. Can I rely on this fixed length of the GUID when converting to String? Also, is the middle number of the GUID always "4" as shown in this screenshot? ...
Hi, For my new project I need to implement a .NET based web crawler. I searched for an open source option and found an entry here at SO that mentioned Arachnode.net as an open source solution. I visited arachnode.net and for my surprise, the project is fully commercial and there is no even a free community edition (if it's really an op...
I have inherited a large and complex C# windows service project that crashes every now and then. The logging system is not logging any messages which I initially thought strange but I now understand that logging might fail if there's a stack overflow or out-of-memory exception. So one of the tasks that I have is to try and find any recu...
I get this comment on ADI while reading Essential C# 4.0: Unfortunately, the underlying technology used by the asynchronous delegate invocation pattern is an end-of-further-development technology for distributed programming known as remoting. And although Microsoft still supports the use of asynchronous delegate invocat...
Hi, I have created a console for my game in XNA and I have a delegate for when a command has been entered. At the moment the delegate is returning a bool value. I have declared an event inside the Console class (which returns false) and then subscribed to this event from other classes. The idea is, if none of the classes that subscribe ...
Hey there all, I am using a netNamedPipeBinding to perform inter-process WCF communication from a windows app to a windows service. Now my app is running well in all other accounts (after fighting off my fair share of WCF exceptions as anybody who has worked with WCF would know..) but this error is one that is proving to be quite resil...
In WPF due to the intricacies on how the interface is updated I sometimes have to perform actions after a short delay. Currently I'm doing this simply by: var dt = new DispatcherTimer(DispatcherPriority.Send); dt.Tick += (s, e) => { dt.Stop(); //DoStuff }; dt.Interval = ...
I just simply want to retrieve two substring of a string which take the following form. The first is a numerical value (there is only one) which is encased between parentheses, such as (12345) - this can be any number of digits (I haven't really kept any stats on length) but between 1 and 10 digits should cover it. The second substring...
My WCF server exposes database access remotely and ensures authentication. Typically, users download and upload large documents. The remote connection turns out to be quite slow. Are there any tips and tricks for optimizing the service to handle those types of communication effectively? ...