I have just discovered ASP.Net Health Monitoring - it looks awesome. I have been developing ASP.Net apps for years, and have even taken the Microsoft certs and have never seen it before. I can't believe it is so hidden. It must be one of the best kept secrets of .Net... anyway, I digress. Here is my question:
I would like to use ASP.Net...
Hi folks,
i'm under the impression that
EF with POCO: allows you to map your own POCO's to the entities on the model (.edmx).
EF Code-Only: no edmx / model designer (ie. CSDL/SSDL/MSL (collectively EDMX) metadata). Still POCO's but the mappings, relationships, navigation, etc are all manually coded (hence the code-only, description).
...
I am suing SqlDataReader to read data from SQL Server. However sometimes I want to cache my data in memory as read only lightweight connection free object. I couldn't find any options for me in the BCL. Do I need to write my own implementation of such container, or are any available?
What alternatives do I have for storing data from dat...
There is one button(MyButton).
OnClick of this button a modalpopup(MyPopup) appears with one asyncfileupload ajax control, Ok button and Cancel button.
The browse functionality of the asyncfileupload functionality is working fine, No problem.
But after postback, if I click the MyButton again, the popup appearing with the previous path i...
Dear All,
can u please suggest a good .NET webservice book? I do have basic knowledge in web service.
...
Hi,
I am trying to implement IXmlSerializable.
My class implements serializable and writes a single string. I wish to be able to export an object graph schema using XsdDataContractExporter (the standard one).
The class serializes to a simple xml.
<Urn ns='http://palantir.co.za/urn'>somestring</Urn>
My implementation of Get...
For any serious software application, error logging and a feedback mechanism is simply indispensable. After you have captured the error log a log file ( maybe using something like log4net), or maybe during the time when an exception occurs, you want to prompt out a message box ( see below image), apologizing for the problem, and ask the ...
It doesn't seem to do squat for the following test program. Is this because I'm testing with a small list?
static void Main(string[] args)
{
List<int> list = 0.UpTo(4);
Test(list.AsParallel());
Test(list);
}
private static void Test(IEnumerable<int> input)
{
var timer = new Stopwatch();
timer.Start();
var size ...
I have written a com component in .NET and if I try to take a lock on any object in any method (that is invoked by unmanaged code talking to my com component) I get an exception.
I do not have the exact text of the exception at this moment but it wasn't much helpful either.
So my question is under what circumstances a lock(syncObject) ...
Say I have an IO-bound task. I'm using WithDegreeOfParallelism = 10 and WithExecution = ForceParallelism mode, but still the query only uses two threads. Why?
I understand PLINQ will usually choose a degree of parallelism equal to my core count, but why does it ignore my specific request for higher parallelism?
static void Main(string[...
I have a List of objects of type IGroup. These can be nested to an umlimited level, and I'm trying to group them after retrieving them from a database. I can't get my head around how to recursively add all groups to the right parents. Any groups with null as a parent are top level groups. I can't guarantee the order they come out of the ...
According to the answer to this question, there is no way to effectively use LINQ for IO bound tasks. Is there a way to gain better control, or is LINQ just not suited for such tasks?
...
Hi, I am new to .Net
I created textboxed dynamically, But when i clicked on the button, i loss before created data in the textbox. How can i maintain data in the dynamic textbox.
Thanks in advance..
...
I am planning to take a 70-536 certification, also i plan to take a Microsoft Certified Technology Specialist (MCTS): .NET Framework 3.5, ASP.NET Applications certification.
Could you please let me know 70-536 is a mandatory certification before taking Microsoft Certified Technology Specialist (MCTS): .NET Framework 3.5, ASP.NET Applic...
Hi
If I make a new class which inherits from BaseEvent can I make it as large as I like? What's the practical implications of doing so? I guess increased network traffic if using with MOM but what if I'm monitoring it for short durations of time?
Very basic question I'm sure but I'm new to WMI (and stack overflow for that matter)
tha...
We are developing a new .NET based commercial application which will have a back-end running as a service on a Windows server (optionally Azure).
For this, we are considering using Silverlight as the only front-end / GUI for accessing the application - primarily because this will allow for easy access from various client OS platforms.
Us...
Type classes seem to be a great possibility to write generic and reusable functions in a very consistent, efficient and extensible way. But still no "mainstream-language" provides them - On the contrary: Concepts, which are a quite analogical idea, have been excluded from the next C++!
What's the reasoning against typeclasses? Apparentl...
Basically, I'm accepting an event name as a string, to get the EventInfo. Then, I'm discovering the event handler type and event argument type using reflection, creating a new delegate of that type (myEventHandler), and hooking it up with the event. When ever myEventHandler is invoked, I need to downcast and pass the arguments to the han...
Hello, and thanks for any assistance
For:
public abstract class EntityBase
{
protected void Create(EntityBase c)
{
Log.Audit(c);
}
}
public class Customer : EntityBase
{
public void CreateCustomer(Customer c)
{
Create(c);
}
}
}
public class Car : EntityBase
{
public void Cre...
how can I protect my assembly, because once I deploy the setup,
assembly will be deployed too, and there are chances that user will get the assembly from Program Files, and may add reference to any other project or create new project based on it ! any solution or help would be appreciated thanks.
...