In II7 you have the option the choose different application pool type. I have 4 types to choose from
Default Application pool
Classic .Net Application pool
ASP.NET v4.0
ASP.NET v4.0 Classic
What are the differences between these, and when to choose what?
...
I have the following .NET VB code to set and read objects in cache on a per user basis (i.e. a bit like session)
'' Public Shared Sub CacheSet(ByVal Key As String, ByVal Value As Object)
Dim userID As String = HttpContext.Current.User.Identity.Name
HttpContext.Current.Cache(Key & "_" & userID) = Value
End Sub
Public Share...
I spent a day trying to make Ent Lib Logging work and log anything into database or event log. I have a web application and console application with the same Ent Lib config but only the console application is capable to log into the Event Log. I tried everything with permissions but I don't know what exactly I am doing which services ...
I have developed a web application in ASP.NET 3.5 and C#. When I deploy the application, people can see the telltale signs that I'm using ASP.NET. How do I make it so that anyone who sees my site won't see that I'm using ASP.NET?
...
How can I find value by tag name in xml file? using C#.net 2.0
There are just 10 distinct nodes in my xmldocument.
I dont want to write xpath. I think there is an auto find property.
...
I have been attempting to implement the Entity framework into my project and unfortunately it seems like mapping an XML result set from SQL is not something that is supported. I also have issues with returning multiple result sets, though I understand that the EFExtensions was created to try to mitigate that issue.
Is there a way to ta...
Hi,
I would like to call a function automatically lets say every 2 secs.
Is this possible with .NET, and if so can you please paste some code?
This will be used in Windows Mobile 6 SDK
thanks
...
Hi guys looking for some guidance, i have a knowledge of xhtml, css, javascript, php generated from education. But where do i go from here to reach an industrial standard? for example using those 4 languages, i have used notepad++ to write them. I'm particularly focusing on web development here.
What softwares should gain experience of...
Part of the code:
...where se.DateFrom >= pDateFrom && se.DateTo <= pDateTo select se...
Does not work. There is no any error but the To and From days do not get returned.
How do I query "more than or equal to" and "less than or equal to"?
Thanks :)
...
How to work with "fifo" in C# .net? (is it possible in .net 3.5 in 4.0?)
...
I have been given a mockup that I do not know is possible to code in ASP.NET without being a real html and javascript wizard.
I want a GridView that when a row is selected, the selected row expands and below the selected row a panel of additional information is shown, which would also include another small GridView. The idea is this wou...
Summary: Parent and Child class. One to one relationship between the Parent and Child. Parent has a FK property which references the primary key of the Child. Code as follows:
public class NHTestParent
{
public virtual Guid NHTestParentId { get; set; }
public virtual Guid ChildId
{
get
{
return ChildR...
What I need is wcf (webhttpbinding) service to log in into https from http and example of wcf service working over https
So is there any tutorial on using C# WCF webhttpBinding on connecting to HTTPs from http and passing data over https?
Any tutorials, blog articleswill be apreciated.
...
I have an XslCompiledTransform object, and I want the output in an XmlReader object, as I need to pass it through a second stylesheet. I'm getting a bit confused - I can successfully transform some XML and read it using either a StreamReader or an XmlDocument, but when I try an XmlReader, I get nothing.
In the example below, stylesheet...
I'm trying to find some info about removing an image background "automagically" if possible in .NET.
Actually I could not find much data and I don't event know if it's possible or are there any API components available.
Any ideas?
...
How to send\recive SslStream from TCP server in C#? I need a simple tutorial on baciks of TCP stream protection using Sockets, SSLStreams and simple TCP listrning server... Is there any such tutorial? Please, help
...
Let's say I have a ListBox called animalList. As DataSource I use following class:
class Animal
{
private int id;
private string name;
private string description;
public Animal(int id, string name, string description)
{
// implementation
}
public int Id
{
// implementation
}
pub...
With the ThreadStatic attribute I can have a static member of a class with one instance of the object per thread. This is really handy for achieving thread safety using types of objects that don't guarantee thread-safe instance methods (e.g., System.Random).
It only works for static members, though. Is there any straightforward way to d...
I'm developing a webpart for SharePoint 2007 and have seen several posts that advise to do all the creation of controls in the code-behind. I'm transitioning from Java J2EE development so I don't have the platform history of .Net/ASP/etc.
In other places it shows how you can do the same thing by embedding the control definition into the...
What is the difference between IEditableObject and IRevertibleChangeTracking (both from the System.ComponentModel namespace)? It looks as if the first supports explicit transaction whilst the second is more implicit - but the net result is the same. How should I go about implementing this in code? At the moment I do nothing in BeginEd...