Say I have some 10 "categories" that I need to reference in a web app. Currently I'm storing these categories in the DB and am retrieving them (category name and id) during pageload in my basepage, storing them in a hashtable and then using the hashtable to reference the categories. I realized that the DB call is being made during eac...
I have a tree view like this and i want to navigate to 3 different pages using response .redirect
--machine groups (main)
----dept (Parent)
------xyz (child)
protected void TreeView2_SelectedNodeChanged(object sender, EventArgs e)
{
if (TreeView2.SelectedValue == "Machine Groups")
{
Response.Redir...
how would the 3-tier architecture be applied in a Rich Internet Application?
I thougt that flex was presentation, .net web services where busines and informix was data. But then when I started I feel that I must be wrong.
thanks.
...
I'm currently working on a little font organization/preview application for myself, however, I'm having a hard time getting the exact information I need.
I've found that I can load an external font by just creating a new FontFamily object with the font's file location as its source. However, I can't find a way to get a font's specific f...
How can I verify a DSA signature in C#?
Given:
the message text,
a signed digest (typically ASN.1 DER format),
the public key (in a signed X.509 certificate, PEM or DER format)
I've tried a number of approaches, but haven't had any success:
OpenSSL.NET: various strange errors with the library; I've got an open thread running with...
I've been working mostly with MS Visual Studio .NET tools and technologies, but started to wonder out of curiosity if there are alternatives to it, especially open source ones, since it seems like for every payed products there are free open source alternatives.
...
For performance reasons I use structs in several use cases.
If I have an object or a nullable type (another struct but nullable) as a member in the struct, is there an adverse effect on performance. Do I lose the very benefit I am trying to gain?
Edit
I am aware of the size limitations and proper use of structs. Please no more lectur...
In my data model I have a fairly common division between my objects/tables/data:
"Transactional" entities that represent the work that is being done by the system. These entities are created by the system and are only important in specific contexts. They are regularly created on the fly. (Aside: Is there a proper name for this type of ...
I have some experience with Mono.Addins, the extensibility framework heavily used in the Mono project. I am aware that Microsoft has recently developed their own extensibility framework by the name of MEF, as well as released it as open source. I am wondering if it is worthwhile to use this extensibility framework. If someone familiar wi...
Hi folks,
I've got a pretty simple Linq to Sql statement that (on he surface) is working fine. When I check the sql code that it generates, it's trying to retrieve all of the table fields instead of the fields that I just request. Is this normal practice?
here's some psedo code for the linq to sql query :-
var result = (from q in db.F...
Hey Guys,
How to connect to different databases for a .NET MVC web application written in C#?
Here the stucture of the database table remains the same. All that changes is the database name. So how to I manually connect to a database or use modify the connection string?
The trick is to use the same code. Depending on the URL I want th...
Hi,
Whenever any new object is created, the object is created on heap. The memory allocated for each object has two additional fields 1) The type object pointer 2) sync block index.
What exactly is the usage of these two fields. Can anybody shed light on this?
Thanks,
Justin Samuel.
...
Hi,
Does any one know, how to communicate to Apache server from client side using Win32 or C#.
and can i get the control to execute the process at server? if so how to do?.
how to receive file sent by apache?.
Please help me...
Thanks
...
I would like to Show my Messagebox in the center of its parent form. if i move the form and show the messagebox, it always show in the center of the desktop. i want it to appear along with the form.
Can you give me some tricks and advice?
...
I am working on an old .NET 1.1 windows application. In the debugging configuration we have set debug mode to an external program which is an exe file. I want to debug that exe when I run this windows application. But when I set an break point I am getting an error "symbols not loading".
I tried all the things searched from google like...
Hello everyone,
I am learning from the following tutorial to develop application based on Microsoft Search Server,
http://msdn.microsoft.com/en-us/library/ms497054.aspx
and it needs Microsoft.SharePoint and Microsoft.Office namespaces. Could anyone let me know which SDKs/DLLs are needed to be added to project in order to use the names...
Hi,
I'm trying to use the VirtualTree of Infralution in VCL.NET, does anyone knows how to do this? In Delphi 8 was a wrapper tool, but i'm using Delphi 2007.
VirtualTree
http://www.infralution.com/forums.html
...
Hi to all,
My teammates and I want to share some class documentation. Our idea is to have something in the vein of MSDN, with a hierarchical tree for our classes. The entries should be taggable and searchable and it should be easy to expand and be contributed to by multiple users (hence we're thinking of a web-based solution).
The idea...
Hi guys, how would I preset a Windsor configuration file parameter with an Enum specified entry such as "EntryType" below?
I currently have this:
<component
id="test.service" service=".." type=".." lifestyle="transient">
<parameters>
<entryType>EntryType.Test</entryType>
</parameters>
</component>
Where ...
From the VS UI it seems I cannot assign datafiles to a download group.
If I change this to 'Include', the datafile gets installed to the app directory and not the data directory.
Is this possible at all, or am I chasing fairies?
Update:
The reason why I need this is due to our database being 20MB while the app is only around 5mb, and...