Looking for a reporting/analysis tool which enables ad hoc reporting for END USERS on Windows Forms (will be converted to WPF/Silverlight) environment.
END USER shall build his own reports by 'drag and drop' data properties to create initial template layout and drill down by filter, sort etc from data generated dynamicially through WCF...
I have a rather convoluted scenario where I want to create a DynamicMethod that's attached to a class in an in-memory AssemblyBuilder. The dynamic method calls a method "GetReplacement" in a (regular) assembly of mine.
This worked fine in .NET 2.0, but in .NET 4.0 I get an error:
MethodAccessException: Attempt by security transparent m...
I have about 45 XML data files and I need to create XSDs for them.
I have Visual Studio 2008 installed. What I am doing right now is opening up each XML file and creating the XSD from the menu option and then saving the XSD.
Is there a command line option for me to create all XSDs?
If not, is there a bulk XSD generation tool that can ...
Our client has a completely custom CMS that was built in ASP 1.1 and later upgraded to 2.0. The database has over 200 tables, and unfortunately, there's no documentation for either the ASP code or the database. The original developers are unavailable for questioning, and no one at my company is familiar with the setup.
The majority of t...
I've the following code
using(MemoryStream ms = new MemoryStream())
{
//code
return 0;
}
The dispose() method is called at the end of using statement braces } right? Since I return before the end of the using statement, will the MemoryStream object be disposed properly? What happens here?
...
I have a simple query in LINQ to SQL:
var id = 23479824;
var date = Changes.Where(ch => ch.Id == id).First().Date;
var diff = Changes.Where(ch => ch.Id == id).Select(ch => SqlMethods.DateDiffNanosecond(date, ch.Date)).First();
The diff variable should be zero, however is not. The generated SQL is following:
DECLARE @p0 DateTime = '20...
I am attempting to share a sub menu among several different parts of an application so that it is consistent (not wanting to copy/paste.) I thought it would be simple. I am doing something like this:
public class MyClientClass
Private WithEvents ctx As ContextMenuManager = New ContextMenuManager
Private Sub handler() Handles ...
I have collection of similar strings
for example :
string 1: Customer's first Name is john, his last name is glueck,his company name is abc def technolgies llc, he has a balance of 60 dollars.His spending rate is +3.45%
string 2: Customer's first Name is steve, his last name is johnston,his company name is xyz corporation, he has a ba...
Hi Team,
I am planning to use bing map for one of my project carriculum projects. Could you please put some lights on the following questions?
1) Is there a .Net API Library for bing maps ?
2) Is there multiple styles available for bing maps similar to http://maps.cloudmade.com/editor
3) Is it possible to have different levels of det...
When I add a Service Reference in Visual Studio to a service, it keeps adding this extendedProtectionPolicy to my Security Bindings, which on my Win7 machine it works fine. But when I deploy to Server 2003 it errors out saying unrecognized element in configuration file.
Removing the line <extendedProtectionPolicy policyEnforcement="Neve...
I have a table that has a version timestamp column. No creation date. Running the visual studio wizard with the localdatacache. It creates 2 triggers one for insert and one for delete. It also create an additional column CreationDate => DEFAULT VALUES TO @@DBTS + 1.
First confusion : It has created and additional column with a default v...
We have the following piece of code in our nant script:
<copy todir="Output">
<fileset basedir="Build">
<include name="Antlr.Runtime.dll" asis="true"/>
...
When this part is executed, it fails because it looks for Antlr.Runtime.dll in the project folder not in the Build folder as specified by the ba...
//Controller code
CookieContainer cookieContainer = new CookieContainer();
//makes new cookie here
cookieContainer.Add(myCookie);
//Service/Facade code
//myCookie gets passed here
How do I pull the cookie out of the container to make sure it's the right cookie?
...
Say I have the code below that uses LINQ to SQL:
MyDataContext dc = new MyDataContext;
var items = from f in dc.TableName
where f.ChildId == 4
select f;
If the table TableName has a column called Completed is it possible for me to set the Completed column to true for everything selected above?
...
Why should virtual methods be explicitly overridden in C#?
...
Hey all,
We're considering using MySQL in a .NET project. We're aware that there's a connector available on mysql.com that's dedicated to .NET, and that it's under a GPL license.
We're having trouble interpreting the GPL license so we've thought we'd ask around :
If we were to use that connector, are we obliged to make the project's so...
Here's the situation.
We have a 3rd party middleware (using SQLServer as a back-end) which we communicate with using an HTTP service link and XMLRPC-like messaging.
The service always returns a dataset as results of any commands that returns something. There is a way to pass an embedded SQL statement to the service.
So, we do not have...
What should every WCF developer know ?
Entry Level
What WCF stands for (Gary)
Define the ABCs of WCF -- address, binding, contract. (D Hoerster)
Mid Level
Senior
...
I'm interested in getting started with some grid computing on the .NET platform. Can ayone recommend "getting started" resources and / or sample applications with source code? Thanks...
edit: By "grid computing" I mean distributed processing of complex problems across multiple machines...
...
Hi;
I am using Ants Profiler to profile my ASP.Net application. The profiler shows the system spend nearly 30% time in "Assembly load or unload" and there was a hit count of 65. Any ideas on how can I optimize the "Assembly load or unload" time??
My ASP.Net application consists of nearly 10 project\dll references. The asp.net applicati...