Hi Guys,
My question is similar to a crapload out there..
I have a simple app to be hosted internal to my company (accessed on the intranet). its an MVC app with windows integrated authentication.
I have all the code to authorize a user against AD, but how do i implement this in the client (web.config + global.asax etc)
Do i use the...
I have seen Books on ASP.Net, VB.Net, etc...
Is there any book on .NET itself?
Can i take advantage of .NET using C++ or i need to know C#??
Please dont mind my question if it sounds stupid, but please do help me out!
And please name a few good books for the following:
VB.net
.NET
ASP.NET
C#
...
Hello all
Under my solution I have 2 projects Project A console application , Project B Winforms Window.
How I can From Project B to start new process with console application from Project A ?
I tried to making it via
Process note = new Process();
note.StartInfo.FileName = "note.exe";
note.StartInfo.Arguments = "123";...
We have created a client-server system WCF, and implemented custom validator as described here: http://blogs.msdn.com/b/pedram/archive/2007/10/05/wcf-authentication-custom-username-and-password-validator.aspx . In order to enable username and password authentication server part must have a certificate. Following another tutorial, we've c...
My question is straight forward, how can I program SQL SMO to take local backup, by connecting to a remote server. I want to save the bak file to a local machine which is connecting to the remote server. Also I want users with only certain privilege to be able to save backups locally.
...
Hi
I require a Windows Service to make WCF calls to a service hosted in a WinForms application.
Unfortunately when attempting the call the Windows Service fails to discover the Endpoint.
I have tried changing the Log On properties for the Windows Service to allow interaction with the desktop, however this did not help.
I have used th...
I've found this articles (liks below) but method which is described in those articles doesn't work for DLL which was compiled with target framework 4.0!
Articles:
http://oassaf.wordpress.com/2007/05/24/calling-c-assembly-from-ssis-script-task/
http://www.codeproject.com/KB/database/SSIS_Call.aspx
http://blogs.msdn.com/b/michen/archive/2...
Possible Duplicate:
What Are Some Good .NET Profilers?
Hello,
Does someone know which tool can I use to see which function in my .Net dll take so long?
TY
...
I have a grid view which have checkbox. Now how to get its value on serverside.
<ItemTemplate>
<asp:CheckBox
ID="chkEditable" runat="server" AlternateText="Is Editable"
OnCheckedChanged="chkEditable_CheckedChanged"
AutoPostBack="true" Value='<%# Eval("PK_ID")%>' />
</ItemTemplate>
...
Hello,
is there a way to get, for debuging purpose, a list of needed RAM for all my objects incl. sub-objects and so on, written to a text-file?
I need to get these values while running in production mode without visual studio running. For example every x minutes. Is this possible? How can I do that?
Thank you very much in advance,
C...
In the CLR via c# third edition there is an example that I cant seem to make sense of:
Invariant Meaning that that generic
type parameter cannot be changed. I
have shown only invariant generic type
parameters so far in this chapter. n
Contravariant Meaning that the generic
type parameter can change from a class
to a cl...
I have a boolean variable value stored in an SQL Server database. This is presented to end users as a checkbox on an ASP.NET webpage. Toggling the checkbox naturally updates the value in the database.
I was about to remove the SQL query that is written in plain text in the C# code behind and replace it with a stored procedure in order t...
Everyone knows the MessageBox.Show() method, that returns DialogResult value after dialog closed.
How can I implement such a method in my dialog class?
class MyDialog : Form {
public static MyDialogResult Show() {};
}
The problem, as you can guess, is that the method returns a value only after user clicks some button in the dialog.
...
I've read detailed papers about the inner workings of the various garbage collectors in the JVM, but I've had trouble finding the same level of details for .NET's runtime...
Anyone have links to good articles/research/pages on .NET's garbage collector?
...
I have a class that contains a Camera property of type ProjectionCamera. I wish to animate the Camera.Position. I don't understand why the following does not work:
void StartMove(Vector3D direction)
{
//Create animation
var animation = new Point3DAnimation();
animation.From = new Point3D();
animation.To = animation.From ...
We're implementing a new solution in our classic ASP environment that's using COM interop to instatiate a .NET component to do some work. The solution is working great and our team lead wants to make sure that it will perform well under load since this is the first time we'll be working with .NET components on our site.
What do I need ...
Is it possible to add a custom property to an object that is part of the .NET framework?
I know how I would do this if I was just giving a class i'd wrote a property, but what about adding a custom property to the FileSystemWatcher class?
I'm loading in the Path I want to watch from an XML file, but also want to add a property to store...
Scenario:
Web Site project under .NET 3.5
Visual Studio 2010
WCF Service reference
Problem:
I'm trying to extend a class marked with the DataContract attribute. I though the generated class was declared partial, so that i could easily extend it. I tried declaring a partial class within the same namespace with the same name, bu...
We currently have an application that is roughly 22 megs total. Our current deployment methodology is deploying the application to each of our clients servers and using a small update program go and copy all of the files to the local pcs if a new version is available. The issue is that 22 megs is taking a bit more time than we would li...
anybody knows how or some library to use for this ?
...