Can anyone suggest some tutorials for beginners that utilize the C# language to access Active Directory? Thanks.
Have a look at this Code Project article and this MSDN code sample collection. The API is actually really simple - the hard part is finding the desired information in the directory. From my (limited) experience the (naming) schema of the standard ActiveDirectory is not that consistent. Active Directory Explorer might be very helpful at this point.
Related
I am working in legacy code with the author long gone and documentation completely absent. I have an application running in production that I am trying to track down the source code in Team Foundation Server. I have been unable to find it in the AssemblyInfo.cs of the projects I have looked at.
Does anyone know where to look or how to search to find which solution makes that executable? I have found no similar questions in searching here.
Successfully found the source code by pasting the .csproj into a text editor and looking for the tag. That was the kind of answer I was looking for. Tip O' the hat to xDJR1875.
Is it possible to take a set of published web files and convert them back into a solution? I say this because a solution has been lost from our system, and the only files that can be found are the actual published files. I have looked around and can't seem to find anything on the matter, any help would be great!
Thanks a lot
For a Web Application the source code is compiled into DLL's. As far as I know there is no easy way to reverse engineer a Web Application back to source code. If you wish to do further research, use search terms such 'reverse engineer web application DLL', or 'retrieve source code from DLL' etc. Good luck!
Conditions:
I've been asked to develop a simple ASP.NET 4(C#) project in notepad. I'm completely new to this area.
The completed project should include several .aspx files, one master page, one sitemap and a web.config.
The book I'm using is a beginner cook book, based on using Visual Studio 2010 Express.
Developing it on notepad is a requirement to this school assignment.
Questions:
As what I know now VS2010 has its built-in Development Web Server which notepad doesn't. Should I test .aspx files by opening notepad files in browser? Will tags with runat="server" work?
Is there any helpful site or post that you know?
How should I testing master page?
Forgive my noob questions. The most sites I can find is teaching people how to develop by using VS2010, which is like my book, instead of notepad. The schedule is tight so I need some help here. Thank you for your time. I'll also share my experience when I finish this assignment.
It's a little more complicated than "runat="server"".
To give a little bit of 101, you will need:
A web server. The most natural one to use is IIS. I believe you should be able to use Apache as well if you're feeling adventurous.
The application framework. Guess what, it's .NET! There's also Mono if you're not using IIS. The application framework should also include the compiler. C# is a compiled language, so before you can run the code, you will have to compile it first. This is slightly different when compared to PHP.
The editor. You should be able to use Notepad, but Visual Studio provides you with more than just a fancy text editor. It helps you create the build script (the command that you send to the compiler), it helps you with project organization, and it helps you debugging.
So just using Notepad is doable, but you'll lose so much time for not using a free tool like Visual Studio Express.
Now to actually answer your questions:
No, it doesn't work that way. You will need a web server (see point 1 above) and a compiler (see point 2 above).
That's a little bit too broad. Your book should be a good starting point.
See answer 1.
I have finished that assignment. Here is my experience:
First, to develop an ASP.NET project on notepad or textpad is very unwise, unless you want to test your coding skill or having some other reasons. Because for beginner the best way to test your code is using VS "Ctrl+F5". If you write your code in notepad/textpad and test them in VS, it kind of defeat the original purpose.
There is a few tips, for the beginner like me.
Named your sitemap file "web.sitemap", and put it in the root directory of your project, otherwise you may have to go through complicated configuration process.
P.S. This is not a compulsory requirement, you can change the file name or directory, but you need to add site map provider in "web.config".
2 Choose your solution or project root directory carefully, because it is not easy to redefine it.
P.S. I spent a lot of time to move files around in Windows Explorer because I wanted to change my current solution directory to another folder.
These are the tips I find most useful. I would've saved at least 2 hours if I know these in the beginning.
I've recently been looking around at some software that's been on the computers for a long time and came across this one, its all installed and works fine but I can't seem to find any useful documentation on how to use it, there seems to be very little help out there to explain how to make each tool work etc., there is obviously their web page and their help files and forums but I've browsed these for hours to no avail, I was wondering if anyone else had experience with these tools and could either give some pointers or knows where I can find some half decent documentation.
Thanks in advance,
Rhys
There are links to the current NetAdvantage documentation from the Online Help Documentation page. 2010 Volume 3 is still available online now though will likely be removed after the release of 2012 Volume 1.
For older volumes , you can reference the newer documentation as the features that existed in earlier volumes will still be included in the current documentation. The only difference is that the new features wouldn't apply to you.
You could also install the help locally. To get the download you would need to have a key registered to your profile on the Infragistics website and then the downloads would be available from the My Keys and Downloads page.
since monday, i'm working as an intern in a company (final year at college)
i need to make a c#project working with a ldap database
i've seen there a library made by novell that can be used.
there's also a built-in lib "System.DirectoryServices.Protocols" specially made for ldap, but there's not much documentation for it.
Has anyone worked with that lib before and can get me started or link me a place that can.
Thanks in advance.
Here is link on Directory Services description in MSDN:
http://msdn.microsoft.com/en-us/library/system.directoryservices.aspx