Hi,
I've been given 6 bits of information to access some data from a website:
Website Json Url (eg: http://somesite.com/items/list.json)
OAuth Authorization Url (eg: http://somesite.com/oauth/authorization)
OAuth Request Url (eg: http://somesite.com/oauth/request)
OAuth Access Url (eg: http://somesite.com/oauth/access)
Client Key (eg:...
how can i do in C# that my function will be guarded by mutex semaphore a.k.a synchronize function in JAVA
...
I'm developing a .NET wrapper for WinPcap called Pcap.Net.
I'm trying to make sure this wrapper has high performance and I want to compare it to WinPcap and to other .net wrappers for WinPcap.
The features I want to profile are:
WinPcap native features (sending packets in different ways, receiving packets in different ways...)
Interp...
I would like to define a type implementing a certain interface, however I would only implement it in a proxy at runtime. I can see two obstacles in this scenario :
1-Make the compiler ignore non implemented interfaces.
2-Make the CLR ignore(or at least delay) the TypeLoadException with the following description : "Method SOMEMETHOD in t...
Hello,
I have a solution with many components and each component has its own version file (AssemblyInfo.cs). Currently each file as the standard structure:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
I would like to use the file version as the component version and keep that independent but I wou...
I've read this article, which describes how instance vs static methods get called with a .NET regex.
However, what about if the variable itself is static? Does anyone know if .NET does any sort of caching that could potentially cause a memory leak?
Clarification. For example:
public static Regex Foo = new Regex(@"(?:,.*)");
versus:
...
Hi,
I am trying to implement test application which will monitor all changes in table (MS SQL Server 2008).
I have followed all steps described HERE, but strange thing is happening ... it goes for endless loop. When GetData calls adapter.Fill(dataToWatch, tableName); the dependency_OnChange event is raised which in its turn calls GetDat...
I develop winforms app. One of my forms accepts user input and calls a web service to add the input into the DB. The input must be unique, however I have no way of knowing if it is unique in the client side. I send the input to the WS and it is responsible of either adding it to the DB or informing the client that the input already exist...
I have an AES encryption being made on two columns: one of these columns is stored at a SQL Server 2000 database; the other is stored at a SQL Server 2008 database.
As the first column's database (2000) doesn't have native functionality for encryption / decryption, we've decided to do the cryptography logic at application level, with .N...
Hello, I've been searching for a while and browsing through the samples but could not find a solution to my problem.
In Microsoft Chart Control I have created a line series that plots real-time data. As new data points are added, the chart margins will sometimes jump on the form. I have tried disabling the grid lines and have determined...
What does MonoTouch.Foundation.Register do?
For example:
[MonoTouch.Foundation.Register("CalendarDayViewController")]
When do I have to add the above? For a .xib to recognize it? Or in place of a .xib?
...
I have written a WCF service (I am a newb) that I want to provide 2 endpoints for (net.tcp & basicHttp) The problem comes when I try to configure the endpoints. If I configure them as seperate services, then my service names are the same which causes a problem. I have seen recomended creating shim classes (classA : MyService, and Clas...
I'm using SmoothStreamingMediaElement silverlight component for smooth streaming.
How can I get informations about download progress?
it seems that DownloadProgressChanged event is not working as expected
(It's working fine with MediaElement component)
I'm trying to achieve that my playback progress bar is showing buffering progress ...
Could this be better? .NET 2.0 compatibility for SQL Server 2005:
public static SqlString RegexSubstring(SqlString regexpattern,
SqlString sourcetext,
SqlInt32 start_position)
{
SqlString result = null;
if (!regexpattern.IsNull && !sourcetext.IsNull ...
I have a custom webpart which extends System.Web.UI.WebControls.WebPart and implements an EditorPart.
I have all the static controls being added in the overridden CreateChildControls method as I know this makes them persistent across PostBacks.
However, I have some TextBoxes being added in the overridden OnPreRender method because the ...
I posted a question here a few weeks ago asking about an alternative to creating .fdf files to fill in pdf documents and someone here pointed me to ITextSharp.
It's working like a champ so thanks for that.
I'd now like to know if ITextSharp has the capability of converting HTML to PDF. Everything I will convert will just be plain text...
Hello, is it possible to be able to remove a series from a chart by clicking on it in the legend, or do I Have to create a separate control for that? Thanks.
...
At work I need to create a new web application, that will connect to an MySql Database.
(So far I only have expercience with Linq-To-Sql classes and MSSQL servers.)
My superior tells me to use the entity framework (he probably refers to Linq-To-Entity) and provide everything as a service based architecture. Unfortunately nobody at work ...
Hi, I'm trying to deserialize an XML that comes from a web service but I do not know how to tell the serializer how to handlke this piece of xml:
<Movimientos>
<Movimientos>
<NOM_ASOC>pI22E7P30KWB9KeUnI+JlMRBr7biS0JOJKo1JLJCy2ucI7n3MTFWkY5DhHyoPrWs</NOM_ASOC>
<FEC1>RZq60KwjWAYPG269X4r9lRZrjbQo8eRqIOmE8qa5p/0=</FEC1>
<IDENT_CLIE>IYbofEiD...
I have a customized data import executable in .NET 3.5 which the SqlBulkCopy to basically do faster inserts on large amounts of data. The app basically takes an input file, massages the data and bulk uploads it into a SQL Server 2000. It was written by a consultant who was building it with a SQL 2008 database environment. Would that env ...