Hi Everybody..
I started a Silverlight project in VS2010 Beta 2. Using parallels on my Mac and I´ve added this to the Web.Config to compile succesfully:
<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>
But the page loads with this Error and I searched a lot without success:
Server Error in '/' Application.
Configuration...
I am a little confused about where .NET assemblies are physically located.
Take good old Linq.
In my web.config file it says:
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
This is the reference to Linq. But where exactly is the DLL this refers to located? There's no path in the a...
Hi,
I have this question for quite a long time...
I have seen many discussions about granting role based access for Databases... But with respect to asp.net web apps... The web app is any way going to connect to the database, with the ID specified in connection string, irrespective of the user connected to the application... (except f...
I have a customised dynamic data application based on an Entity Framework model. The application compiles and runs fine, until I open the model and add a single, simple table. As soon as I add this table, I get the following error on all my tables:
Must specify mapping for all key properties.
Key properties are and have been properly...
I develop custom DesignSurface base on Powerful DesignSurface (Extended)
and set UseSmartTags. it's work properly for standard .net control. but when i using some third-party component, (in case using 2 instance of one control),and click on first control and change some property using smartTag, and then click on second component smart ta...
How does Rhino security gel with the asp.net membership providers? The reason why I am asking is because AFAIK if I need to use attributes [Authorize] then I should be implementing or extending the asp.net membership providers.
In my case as I need more than what asp.net membership provider gives me. Rhino Security is a good fit in t...
I have been tracking down a bug on a Url Rewriting application. The bug showed up as an encoding problem on some diacritic characters in the querystring.
Basically, the problem was that a request which was basically /search.aspx?search=heřmánek was getting rewritten with a querystring of "search=he%c5%99m%c3%a1nek"
The correct value (...
Hello,
I'm trying to figure out a way to know if the user is using multiple monitors.
I would like to know how to do this in native C++ (using the Win32 API) and with managed code (using the .NET Framework).
Thanks in advance
...
To invoke a C API from C# I would use P/Invoke. But if I were to do the reverse, call .NET APIs from C, how would I go about it?
...
Well, i've search all around but there are no document neither on google nor on textile.net codeplex, and also no code comment about functionality. So I just want to post a question so that people like me, as well as other people who don't know how to use textile.net will just refer to this article.
How to use Textile.net?
refer answer...
Hi,
Say I have an object,
Class A<T, T2>
{
public T MyObject {get;set;}
public IList<A<T2>> MyChildren {get;set;}
}
Problem is, sometimes I dont have children, so I dont want to declare the children type aka T2, any idea? I cannot pass in like
A a = new A<string, Nullable>(); as it is throwing an error.
Thanks
...
im just starting to learn LINQ and at the same time im working on a research project for school on using link to entities with oracle and DB2 im trying to find a tool or addon that i can use to test my result sets so that i can run a linq query and see the resulting data i have seen LINQ pad but it seems to be set up for microsoft sql ...
Using VB.Net 2005
I want to get a day for the date.
My Datepicker format is Custom Format (dd/MM/yyyy)
Code.
Dim dt As New DateTime()
dt = Format(textdate.Text, "dd/MM/yyyy")
textday.Text = dt.DayOfWeek.ToString
When i try to run the above code, it was taking only this format(MM/dd/yyyy)
Suppose
Date - 02/05/2010
It should disp...
I have a hierarchical generic data structure. There is a root node and under that there can be many tree nodes, or just a single data node, and tree nodes can have more tree nodes. A basic tree structure.
All data in my system is persisted in this format. I do however want to have a strongly typed interface to some of the different type...
in VS2010 write this code and run:
===========
string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), @"Microsoft.NET\Framework");
string pathV2 = Path.Combine(path, "v2.0.50727");
Assembly assembly = Assembly.Load(File.ReadAllBytes(Path.Combine(pathV2, System.Windows.Forms.dll")));
Console.Write(asse...
What should be the ideal connection timeout in asp.net application? Does it prove to be a bottleneck in the performance of a application. Thanks in advance.
...
I am looking at the BackgroundWorker.ReportProgress method. It can take 1 param (int) or two params (int, object).
If I want to assign the ReportProgress like this:
var ReportProgressMethod = backgroundWorker.ReportProgress;
I get an error saying that there is an ambiguous reference because (of course) the method can take to sets ...
Assume I have an Excel.PivotField, and I need to setHiddenItemsList on my object.
With VB.NET and Option Strict Off & Option Explicit Off this would result in:
Dim field as Excel.PivotField = MyFunctionCall()
field.HiddenItemsList = GetHiddenItems()
While this works with this security setting, it obviously doesn't work when you set O...
Is it possible to test for folder redirection in .net? I don't mean reparse points/junctions, I mean when a folder (usually My Documents) is redirected to a server.
In such cases, if you are traversing the folder system of a PC you'll encounter an IO error if you reach the local version of the folder. So it would be useful to be able t...
Hi everybody
Does anybody know how can I proxy SQL Server requests through another application.
I have desktop based application and I do not want the application to directly connect to SQL Server.
...