Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have an assembly WebMatrix.WebData.dll and
I want to look inside the body of one of the functions and to see how it is implemented
The function name is: WebSecurity.CreateUserAndAccount(model.UserName, model.Password);
It is in namespace WebMatrix.WebData
I am just curious to see how everything is working down there.
Is it possible to extract the body to a user-friendly code?
There is no need to go downloading decompilers for anything in the ASP.NET web stack, it's open source! You can read it all through in it's fully commented and unobfuscated glory. Here is a link to the exact line of the method you're after:
https://github.com/ASP-NET-MVC/aspnetwebstack/blob/master/src/WebMatrix.WebData/WebSecurity.cs#L318
There are plenty of decompilers out there.
http://ilspy.net/ - ILSpy (Free)
http://www.jetbrains.com/decompiler/ - DotPeek (Free)
http://www.red-gate.com/products/dotnet-development/reflector/ - Reflector (Trial/Paid)
You can use ILSpy to decompile a library into source code.
Download it here: ILSpy
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have looked into JInt, IronJS, and Windows Script Host and can not see which would be better to use for calling user generated JavaScripts which call in an API I will be creating.
JInt seems to be the winner at present due to it also offerring debugging abilities, however WSH seems plausible. I just can't see how it would work even having read many tutorials on how it is implemented.
Lastly JInt claims the CodeDomProvider technique leads to memory leaks, apart from this reference I haven't found anything else to back this up. Has anyone else experienced this?
There is a project which is called Script#. Have a look and see if that's what you wanted.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Please are there any tools available that will parse my source code to enumerate all class and function dependency for my project (C, C#, C++ or Java) and save it in doc, XML or any other format?
Thank you.
Use reflector:
http://www.red-gate.com/products/reflector/
With this add-in:
http://code.google.com/p/xmi4dotnet/
For .NET, check this out
http://www.ndepend.com/
Understand will handle all those languages. It's not free but a very good tool. Not sure about generating XML, but it'll do a variety of reports. It also supports perl plugins, so you could probably generate whichever format you need for the reports.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking to create emails, mainly HTML, based on templates -
I'd really like to do something like:
Set up my template, as an HTML (or
similar) file
Include tags, that are then replaced with specific data (kind of like mail-merge....)
I've seen this:
http://www.bitethebullet.co.uk/EmailTemplateFramework/tabid/58/Default.aspx
From searching on stack overflow, i understand nVelocity might be another option? But i can't find any examples to do what i want to do...
Any other suggestions?
This kind of functionality is already built in. See MailDefinition class. For more complex scenarios you might want to consider something like NVelocity. I've had a lot of success with StringTemplate's C# port.
I've just released an open source project for precisely this purpose. You can read some more details and grab the source code from my blog.
http://thecodedecanter.wordpress.com/2010/07/19/town-crier-an-open-source-e-mail-templating-engine-for-net/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
My program need to parse css files into an in-memory object format. Any advice on how this should be done ?
ExCSS (supports CSS2.1 and CSS3) on GitHub: https://github.com/TylerBrinks/ExCSS.
Which is a newer version of the code project article: http://www.codeproject.com/KB/recipes/CSSParser.aspx
And a slightly slower search turns up the blog post "CSS parser class in .NET" which embeds this gist on GitHub (in case the blog ever dies).
There is a CSS grammar file for GoldParser:
http://goldparser.org/grammars/files/css.zip
GoldParser is easy to include in a C# project, and generates an real LALR parser - not some regex hack.
Have you tried the one featured in JsonFx? It's written in C#, parses CSS3 syntax and is distributed under a MIT style license.
I wrote one, using the grammar specified in the CSS 2.1 spec. I have also released it now: for details, see http://www.modeltext.com/css/
Here you can find another one especially for C# with sample source.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Even if it requires manual input. Is there any good-enough option available?
I don't know anything about this site, but a little googling found this.
If it was in managed C++ or C++/CLI, you could compile it and then disassemble the assembly into C# using a tool like Reflector. Of course, that's not open source but maybe you can find an open source Reflector-style tool?
If it's native C++, that's much more difficult.