hi.
as many of you know there is no copyright in some countries.
I support copyrights myself, but in Iran:
Windows Server 2008 =1$
king 2008 = 14$
MS SQL Server 2008 =50 Cents
...
how can i prevent my code being Decompiled before 30 Seconds(I have lot's of videos witch Learn how to decompile in 30 Seconds).
what is best obfuscator program(.Net) money can buy?
does it have any Automated Anti obfuscation program?
What is the best way to put together a "shortcut" to launch a IronRuby REPL with some .NET assemblies preloaded? I think there is a way to do this in Powershell (via Snapin or Module) and I'm looking for something similar in IronRuby.
Help, here is the idea:
External.dll
IMyClass NewCreated = (IMyClass)Activator.CreateInstance(Namespace.MyClass).UnWrap();
Asp.Net WebSite
App_Code
Namespace.MyClass.cs
Bin
External.dll
Is that even posible?
I have tried, a lot of posible combinations, like:
Assembly.GetCallingAssembly().CreateInstance("Namespace.MyClass")
Activator.CreateInstance(AppDomain.CurrentDomain,"Namespace","Namespace.MyClass")
Assembly.GetExecutingAssembly().CreateInstance("Namespace.MyClass")
I'm confused as to how revoking authorization works in the ASP.NET Toolkit. I've tried issuing the following:
ConnectSession connect =
new ConnectSession(FacebookHelper.ApiKey(), FacebookHelper.SecretKey());
Auth x = new Auth(fbSession);
x.RevokeAuthorization();
But I get an object reference error during the RevokeAuthorization call. Here's the call definition.
Any idea what I'm doing wrong?
Hi all,
I have been given a wsdl and have used wsdl.exe to create my proxy classes.
I am able to call the function to initiate the request with some valid parameters and this returns my response object which is always EMPTY.
When i inspect the soap message response using fiddler the soap does have valid data that should be deserialzed to the proxy classes.
Can i manually intercept the derserializing call of the proxy classes generated by wsdl and check that .net is correctly derializing the soap response?
Thank you
Is there any c# sample code of integrating orkut from an ASP.NET web site (oauth authentication, retrieving friends, etc.)
Any help would be appreciated
Thank you
Hi,
Can any one tell me which one is better in "Session Facade Class" and "Single ton Object" design patterns in ASP.Net? Also, please state the scenarions where specific design pattern is advisable to use.
Thanks
Rupa
I have created a ViewUserControl in my ASP.NET MVC 2 project. This ViewUserControl serves as the general page-header for all views in the project.
How can I add a custom property on ViewUserControls, accessible from views using that control?..:
<%@ Register
Src="../Shared/Header.ascx"
TagName="Header"
TagPrefix="uc" %>
<uc:Header
runat="server"
ID="ucHeader"
MenuItemHighlighted="Menuitem.FrontPage" /> <!-- custom property, here -->
At the last PDC (can't remember which talk it was) they gave us the information that it will be possible to share assemblies between regular .Net 4 and Silverlight 4.
Unfortunately I can't find anything on this. Was this feature dropped? What options/limitations are there?
(There are similar questions on SO but they don't say if they apply to SL3 or 4.)
Looking for a custom ASP .NET control were the InnerHTML of a DIV is connected to a databas to fetch the content to render the HTML content from the databas inside the DIV.
Is there one out there I have missed or anyone could tell if its possible to make my own DIV component to make it DataBound?
Thanks,
Stefan
I have a messaging aspect of my application using Jabber-net (an XMPP library.)
What I would like to do, if for some reason the connection to the Server is ended, is keep trying to connect every minute or so.
If I start a Timer to wait for a period of time before the next attempt, does that timer run asynchronously and the resulting Tick event join the main thread, or would I need to start my own thread and start the timer from within there?
Is there a way in .NETto perform the same technique Photoshop uses for Gradient Mapping (Image - Adjustments - Gradient Map [Gradient Editor])? Any ideas, links, code, etc. would be welcome.
I want to do something like this
ffmpeg -i audio.mp3 -f flac - | oggenc2.exe - -o audio.ogg
i know how to do ffmpeg -i audio.mp3 -f flac using the process class in .NET but how do i pipe it to oggenc2?
Any example of how to do this (it doesnt need to be ffmpeg or oggenc2) would be fine.
is it possible to solve conflicts on client side with sync services for ado.net?
for example, with Client Insert Server Insert, updating client's table id (on client side) , tks
.NET provides a great library for working with SMTP for sending messages, however, there is not an implementation of a Pop3 client, or IMAP client for working with receiving e-mail from a mail host.
Does anyone know of a good component that can provide Pop, IMAP, or both support? I know that code project has implementations, but from my experience finding a "good" one is hard.
I am thinking about switching my blog away from Community Server to something that is simpler and focuses more on just being a good blog.
What are the different .NET blogging engines and which one do you recommend?
Is there a way that I can trace every method, basically a line trace, in an asp.net web site in production environment?
I don't want to go about creating db logging for every line - i see an intermittent error and would like to see every line called and performed by the website per user.
I am building a .NET application that given a connection string, at run time, needs to be able to retrieve information from the corresponding database schema, such as available columns, datatypes, and whether they are nullable.
What is the best way to accomplish this? Has anyone done anything like this before?
Many thanks, Nigel.
I have a question, which Unicode encoding to use while encoding .NET string into base64? I know strings are UTF-16 encoded on Windows, so is my way of encoding is the right one?
public static String ToBase64String(this String source) {
return Convert.ToBase64String(Encoding.Unicode.GetBytes(source));
}
I have a .net 4 application that uses a Com Dll to send SMS messages. I used TlbImp to create the interop assembly and that is what is referenced in the application.
When I try to create an instance of this class, it takes a really long time (2-5 seconds).
I ran performance profile in VS 2010 and the call that takes the longest by far is System.Activator.CreateInstance().
I am looking for tips on how to debug or gotchas with using Com Interop.
My users upload Word 2007 documents to our site and I'd like to load them into a rich edit control of some kind so the users can make modifications/ comment, etc.
What mechanisms are available to:
load the Word document via ASP.NET, and
parse/format/display the document in a rich editing control?
Also, what kinds of rich editing controls are best to use in this circumstance?