How can I get Organization Unit (OU) from ActiveDirectory when using ASP.Net Membership? I can't find any possible mappings for web.config and there is nothing like that in User.Identity.
Simple question:
What is the pattern for the word character \w in c#, .net?
My first thought was that it matches [A-Za-z0-9_] and the documentation tells me:
Character class Description Pattern Matches
\w Matches any \w "I", "D", "A", "1", "3"
word character. in "ID A1.3"
which is not very helpful.
And \w seems to match äöü, too. What else? Is there a better (exact) definition available?
In order to return a value from a VB.NET function one can assign a value to the "Functions Name" or use "return value."
I sometimes see these inter-mixed in the same function. Personally, I prefer the return.
My question is, what is the internal difference, if any, between the two?
hi, Im trying to return the value contained in a datagridview cell upon clicking on the cell. can anyone please show me how to do this using vb.net?thanks
Has there been any change in page life cycle event in asp.net 3.5(I mean some addition or any modification in the exisitng one)?
Sorry to ask in this way as because recently in an interview I have been asked by an interviewer. I dare to ask him the answer for this even after the interview!
If the asnwer is yes, kindly give some detailing about that; even a tutorial link will also do if no explicit explanation.
Thanks
How to write Performance Test for .Net application? Does nUnit or any other Testing framework provides framework for this?
Edit: I have to measure performance of WCF Service.
Hello,
I have an application written in VB6, and I need to use a library written in .NET. Is there any way to use the library on my application?
Thanks
In the excellent Secret Geek’s Building a Micro-ISV series, Leon Bambrick admits that he prefers to host his sites in the US because of the prices and proximity to his target market.
For Australian companies and start-ups, what’s the best ASP.NET web hosting in the country? Should a company consider hosting its website overseas even if the potential market is in here?
I've been developing a WPF application with .NET framework 3.5 and later had to change to 3.0. Some of the features like Func (System.Core.dll) and Linq is not available now and VS throws compile errors to my existing code. How can I use 3.5 features in 3.0?
this is my function for plotting a graph in vb.net how I'm going to replace the ("Jon", 10),("Jordan", 30) with a value that i search from database ?
Private Sub chart_btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chart_btn.Click
Chart1.Series("Student").Points.AddXY("Jon", 10)
Chart1.Series("Student").Points.AddXY("Jon", 10)
Chart1.Series("Student").ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar
End Sub
hello:
i have just created a new empty website from visualstudio 2010, added an new webform and droped a login control into the page.when i click the tag "administer website" then try to open security-Use the security Setup Wizard to configure security step by step, the IE8 shows the error: "Object Expected".
(tried to make a asp.net site with generated code, without any modification, but the error still occered)script type="text/javascript"
I'm new to Continuous Integration. I want an advice with which tool should I start deal with. I see this is the biggest tools right now: CruiseControl.NET or TeamCity.
I'm using already this tools: Visual Studio 2010, Mercurial, NAnt, NUnit.
Is it possible to host 2 asp.net projects off one ip address? I don't have a domain name just an ip number. I'm running IIS7.
The first project runs and displays fine over the web by simply typing in the ip address into the browser but I'm having trouble accessing the second.
Currently both projects have virtual directories in IIS7.
Help is greatly appreciated.
Thx
I need to pass an url from asp.net load_page to flowplayer javascript function here:
http://flowplayer.org/plugins/streaming/rtmp.html
How to do that ?
About 30 minutes of troubleshooting and it turns out the person who's trying to use my application doesn't have the newest version of the .NET Framework. Is there a way or some KB article which describes a best practice for informing users who are not updated or do not have the framework, etc.
Thanks!
my client is asking for windows 7 like look for my desktop application (developed in c#.net). please tell me how can i set such theame for my application so that i would look like windows 7... please tell me if any such a controls/theame available... (open source is prefered)... please help me out..
We are running an ASP.NET app on a web server with 4GB+ of memory in IIS 6. After reading many articles, it states that we need to set the "maximum memory used" for the Application Pool to 800mb to eliminate the "out of memory exceptions" that are happening for us. However, what should the "maximum virtual memory" in the Application Pool be set to? I can't find information as to what that should be set to.
In my asp.net web application,I use IFrames to show another page inside one page.But the problem is that the page load event of the embedded page in the IFrame is not firing when the Iframe is shown by clicking on a button in the parent page.I use the IFrame's visibility is true/false to show or hide the Iframe.I am confused what is happening there.Can somebody solve my problem....
Hello,
.NET 4.0
I am looking for the easiest way to generate a Word document on our server.
Limitations :
Server side
I don't want to install word on the server
Data source is XML
I tried to generate a DOCX with XSLT which is fast and easy but the only way I could find to validate the generated document is to open it with Word and the only error I get when the document is not valid is "Error while opening document". Not very useful.
Any ideas?
Thanks,
Alex
What's the best way to approach using Mercurial (HG) programmatically from C#?
I will be creating HG repositories, committing, and using other default HG functions. Are there are open-source .NET libraries that would allow me to do this?
Thanks in advance.
Hi.
After migrating my app to .NET 4 it's not starting. When i'm trying to load it in browser it endlessly loading it and nothing else happening. There is no errors or timeouts, just loading.
Please help. What should i do? What reasons there might be? I'm using IIS6 btw.
Assume you are taking over a legacy .NET app. pre - 3.0
What are the top 5 diagnostic measures, profiling or otherwise that you would employ to assess the health of the application?
I am using protobuf-net to serialize and deserialize my messages. My message also contain come strings that can be null. However when I deserialize them on the other side, I get empty strings ("").
According to google docs, the default value for string type in empty string.
What could be the resolution for this issue?
Is there a way to embed multiple dependent assemblies into a single one for projects written on the following platform types: Windows Store Apps, Windows Phone 8, Portable Class Library?
I know that for regular .Net projects there is ILMerge, but on the aforementioned project types it doesn't work. Embedding assemblies as resources and then manually resolving the references using AppDomain.CurrentDomain.AssemblyResolve is not possible either, since AppDomain is not available in these types of project.