I'm wondering what people's experiences are with in-memory cache solutions for .net.
We need an (ideally free) out-of-process caching solution that we can share between a number of different web sites (different app pools), and also some console apps that periodically run.
We've tried a few solutions so far, both of which are good but ...
A new topic too me is file extension .pxf security. Even though I get the password, I don't know how to use them. How does this work on .NET programming? Especially unlocking pfx-secured assemblies.
Assignments are submitted as compressed solutions. Normally, I unzip files and open them using Visual Studio 2010.
...
How does the system determine whether a given DLL is a .NET DLL or a Win32 DLL?
...
I've looked through many topics and have yet to find a reliable answer to what I need, so here goes:
I'm looking to take multiple Excel sheets from a (.xlsx) document containing both tables and graphs, and embed the specified data in a new PowerPoint (.pptx) document using C# (VS 2010)
If you have any information on the topic or can po...
Hi all,
I want to customize a object's behavior before the object is created. I think maybe add some hooks in the object constructor and do the change there would be a choice. Is there any way to do so in .net? Thanks a lot in advance!
EDIT:
Here is a example:
Assume we have a class Kid which use Perform method to get credit in the ...
I paint a drawing on a drawing area.
In order to optimize the performance of that drawing I decided to redraw only inside the really necessary region(clipping region). See the picture.
The problem is that I don't arrive to build a method(GetBitmapFromRectangle) that returns me the result of intersection of my paths with the clipping r...
I have found the attribute ResourceExposureAttribute and ResourceConsumptionAttribute in the DefaultTraceListener.
When are used? Are they read by the framework or should be considered by the programmer? More, what are the differences between them?
...
I have two text boxes A, B using (Html.textboxfor).
TextBox 'A' is enabled and TextBox 'B' is disabled.
When I type values in Textbox 'A' and click outside( moving out the cursor from the textbox), TextBox 'B' should be populated with somevalue.
For example : iam entering value of TextBox A = "King", if the focus is lost from the box,...
Hello,
I have a Windows Form application using LINQ to SQL. It's working all good and fine but there is one thing I fail to understand.
In one of the forms, I have a DataGrid which shows a list of order items. When I save them using SubmitChanges(), in the first call (after the application has been run) it saves the ALL the order item...
I have a page which submits a form in my local system but in my production system when i click my submit button it just freezes with the error in my web developer toolbar saying
Error: Sys.WebForms.PageRequestManagerServerErrorException: When calling stored
procedures and 'Use Procedure Bodies' is false, all parameters must have their
...
Question: I'm an ASP.NET developer since about a bit more than a year now.
I'm thinking about changing the employer sometime in the future, and
I've seen familiarity with SharePoint development as a requirement on many good job offerings.
Unfortunately I'm not (yet) familiar with SharePoint, so I wanted to know the following things:
1...
Hi to all,
I need some advice on how to measure some stats with my FTP application.
Basically I have a threaded application that ftps to several machines which could be local or remote. Some are on the company LAN (ethernet 100Mb/s) and others are contactable via ASDL lines (max bandwidth 1.5 Mbit/s).
What I would like to do is know wh...
Hello all
I'm working on a WCF service application which does lot of manipulations on XML files. Before i start looping the nodes, elements, attributes and all the other stuffs i want to know the useful functions that are available on XmlNode, XmlElement, XmlDocument and all other Xml related classes which can be used 'in place of' loop...
I have to dictionaries
dic1<double, double>
dic2<double, double>
The length might not match. So I need to update values in dic1 from dic2 joined by dic1.key == dic2.key... But preserve those values in dic1 which has no corresponding key in dic2.
.NET is 3.5
...
I have a project with two namespaces, Interfaces, and Services. Each service implements its corresponding interface. Now I need method declarations to include an enum declared for one service. Which namespace do I put the enum in? If I put it in Services, I need to reference Services in Interfaces, which is just ugly. It would be qu...
Hello,
It is of a newby question, so sorry in advance.
I'm using fluent NHibernate and get a strange behavior on it.
I have two classes that look like that (simplified) :
public class Group
{
public virtual int Id{get;protected set;}
public virtual String Name{get;set;}
public virtual List<Person> Persons {get; protected ...
Hello everybody!
I have UI which displaying status of long-running operations (downloading some text files from ftp) . For my purposes I use backgroundworker and I can't cancel operation.
void worker_DoWork( object sender, DoWorkEventArgs e )
{
try
{
int rowIndex = (int)e.Argument;
//begin ...
I need to open the login.aspx page in a dialog box when the user clicks the 'login' link.
I've looked at jQuery UI Dialog, but it looks like it can't open whole pages from a given URL?
Do you guys have any tips to what I can use?
...
I'm new to the .NET CryptoProvider space, and am a little concerned by what I have seen regarding the repeated creation of the same key by the RSACryptoProvider.
I am using a container because I am storing the key off to file on the server, like so (I export the CspBlob subsequent to this creation and reimport it later)...
_cp = new Csp...
Hi,
I need to use HttpWebClient to upload a series of files at once.
I am following the sample code found on this thread:
http://stackoverflow.com/questions/566462/upload-files-with-httpwebrequest-multipart-form-data
As several people reported on that thread, I am also getting HTTP status 500 errors. I have tried 2 of the solutions o...