I am reading the Asp.net security documentation on msdn.I come across these tow terms and get really confused.
# WindowsIdentity = WindowsIdentity.GetCurrent(),
which returns the identity of the security context of the currently executing Win32 thread.
# Thread = Thread.CurrentPrincipal
which returns the principal of the currently executing .NET thread which rides on top of the Win32 thread.
My google-fu is failing me on this one.
As a possible solution to http://stackoverflow.com/questions/1679404/unit-testing-net-3-5-projects-using-mstest-in-vs2010 (but I've put this in a seperate question because it's kind of unrelated):
Is there any information available regarding if/when .NET 4.0 support will be added to Windows Azure?
Cheers!
I need a way to track all allocations in a .NET application that happen during a single step in the process of debugging my application. I mean, when I'm in the debugger, stepping through code, I would like to see for a single step what allocation took place. Is there a tool or a way to do it? I tried several memory profilers including CLR profiler, JetBrains and .NET Memory Profiler 3.5 and none of them seems to provide this kind of funcionality.
Hi.
I'm looking for a component like skype, icq, messenger or any other of that type, which I can integrate into my asp.net 3.0 / asp.net 3.5 web application, which enables chatting, sending messages, files etc. between the users of the web application. like GTalk one to one communication NOT chat room
Note that only users whose user details are stored in the database and are authenticated, are able to use the web application, and therefore the component.
I have a legacy application that I inherited that passes a lot of XML around as Strings.
I often need the ability to check if a String will be valid XML. What is the fastest and least expensive way to check if a string is valid XML in .NET?
I'm working in .NET 3.5 and would most likely use this as an extension method (off of string) in this one project within the solution.
I'm developing an in-house .NET application that will be run on a VM (with VMware), and want to know if there's a way to get notifications from VM system events (like suspending, resumed, etc.)
Anyone know of a convenient way to do that? The virtual machine has VMware Tools installed, does that provide a .NET API for hooking events?
Hi,
I have a website in php which is using 4 frames(top, left, middle and right). The middle frame
contains the web user control coded in asp.net. Now, in the right frame( which is coded in php ) some javascript contains the id of the items selected in right frame. I need to get those ids to the middle frame on asp.net user control. How can i do this?
Hi,
how to execute a asp.net page asynchronously?
So I am displaying a page to the user, but when an event happen, I need to execute another page, without using ajax, but using C# code.
I am using asp.net webforms.
thanks
I am told that the configuration below is possible, but have had significant difficulty in finding instructions on how to set it up. While I'm trying to muddle my way through this on my own, maybe stack-overflow knows of better sources for documentation:
I am looking for a walkthrough, including a downloadable, working example, for setting up the following configuration:
Server-side .net application (For .net 2.0 or higher), installed/deployed as a windows' service (that is, not served through IIS), and accessed by a client tool that is completely implemented in JavaScript.
I have a .NET app running inside a Peoplesoft web portal IFrame.
What I need to do is get the URL of the portal (parent) that called my .NET app.
So far I've tried to get the URL inside my c# code using Request.Url.AbsoluteUri but this is not working.
I'm assuming I will have to do this in JavaScript, or is it possible to get the browser's URL inside my c# code?
Thanks in advance.
I'm wondering how to prevent Session fixation in ASP.NET
My approach would to this would normally be to generate and issue a new session id whenever someone logs in. But is this level of control possible in ASP.NET land?
Can someone suggest ASP.Net source editor which I can integrate into my web site
expected features:
Highlight ASP.Net source code, including server code / javascript code / html / css
Intelligent suggesting when typing the code. (this is optional)
"Design View" is not required. I just need the code view, please suggest,
thank you
We are working with a client who has an inventory system using asp.net.
We are developing his ecommerce solution within Wordpress and this needs to be updated by the asp.net inventory system ?
Ideas on how this can be integrated would be appreciated !
I'm using Infinitest for continuous testing when I do java development and i really miss the instant feedback when I develop in .nET
How do I do continuous testing in C# & .NET?
I need to send an email in asp.net but I need sender appears like "MySiteName" without [email protected] need to send an email in asp.net but I need sender appears like "MySiteName" without [email protected]
How can I go to an anchor tag on the page when the myDropDownList_SelectedIndexChanged() event fires?
I am using regular ASP.NET Forms.
Update: The following is valid for an ASP.NET Button. I would like to achieve the same functionality (going to #someAnchor) when I select an option from the Dropdown list.
<asp:Button ID="btnSubmit" runat="server" Text="Do IT" Width="186px" PostBackUrl="#myAnchor" CausesValidation="false" />
One my client has his website developed using coldfusion... Now I want to migrate that website from coldfusion to asp.net... As a web developer i know it is possible,but want to know a few things
Challenges/Learning curves involved in migrating from coldfusion to asp.net...
What are the factors i have to watch out for during migration?
I want to create a dnn like page modules in asp.net mvc site. Can any one have idea how i can do that. I am using asp.net mvc2.
Any tip of code will be great help
Thanks in advance.
I would like to create a function in C# that takes a specific webpage and coverts it to a JPG image from within ASP.NET. I don't want to do this via a third party or thumbnail service as I need the full image. I assume I would need to somehow leverage the webbrowser control from within ASP.NET but I just can't see where to get started. Does anyone have examples?
I am developing a vb.net application in SQL server 2005 ,now i would like to import MS access database tables from a network into sql server 2005 database, using stored procedure or vb.net code without using SQL server 2005 Wizard . please find a sollution thanks a lot.
I have a rake task running on CC.NET that generates HTML test reports. I'd like these test reports to be stored against each build and be accessible from the CC.NET website when looking at the details of the build.
Is there a way of doing this or do you know of another continuous integration server that can do this?
hello,
can any one tell me how to do form authentication in asp.net mvc? i had done form authentication for built in database but i dont know how to use it with ADO.net entity model. thank you
how to get host name of all LAN systems using c#.net
through "net view" command am getting some systems host names, not able to access all the systems even though they are in the LAN. why so?
What should I do to host on my own machine a .NET web application(ASP.NET, Silverlight) with support Sql Server and services(RIA, WCF)?
What should I install and configure so others can interact with my application via the internet ?
It's some administration API which I can install on a PC and by which I can upload my app like in professional hosting?
Thanks for the help!