Hello,
We have a Windows application on .net 2.0 that uses embedded encrypted database. The database consists of secret data - around 350mb, which is read-only and is updated with new one each 4 months.
Untill now we use SQLite file as a database and it worked good, but we need to move to client-server version since some customers have...
Hi, I have the follwing XML:
<?xml version="1.0" encoding="utf-8" ?>
<configuracoes>
<gerais>
<atualizacoes>
<tipo>automática</tipo>
<frequencia>diária</frequencia>
</atualizacoes>
</gerais>
</configuracoes>
And the code:
Dim xPathNavigator As XPathNavigator
Dim xPathNodeIterator As XPathNodeIterator
xPathNav...
IN my asp.net-mvc project I have an AccountController that upon logging in sets a cookie with user preferences to the Request.Response and then does a RedirectToAction.
Upon redirecting, the cookies are reset so I loose my settings.
The only solution I can come up with is adding the data from the cookie in the tempdata and then fetching...
The Entity Framework 4 is driving me mad, This situation is:
Employee entity - many to many association - Department entity
I get employees from the EmployeeRepository and Departments from the DepartmentRepository. Each repository uses its own data context. My UI has a list of departments (from the DepartmentRepository) to select for ...
In C# I see that
-1 * int.MinValue == int.MinValue
Is this a bug? It really screwed me up when I was trying to implement a search tree. I ended up using (int.MinValue + 1) so that I could properly negate it.
...
NHydrate is a lesser-known ORM for .Net - I stumbled across it for the first time yesterday.
They have a good amount of information on their Codeplex page, and a several videos that are also quite informative.
After reading through the docs and watching some of the videos I feel very curious about this ORM. Model driven development, a...
Hi
I want to avoid the duplex Chanel in WCF and create callback service on client, pass the client address to server so the server can call the client any time. (maybe different binding etc.)
How can I pass the callback interface to the client? (I still want the server to manage this interface and to avoid put it in seperate DLL.
Any ...
Hello,
from what I've understood so far, by reading this doc for instance : http://msdn.microsoft.com/en-us/library/ms404279.aspx, Shadow copy is a feature that allows the use of an assembly while currently loaded by an application.
From the above doc :
The common language runtime locks an assembly file when the assembly is loaded,...
I'm trying to load an ActiveX COM object into a .NET project. It uses licensing (ie FACTORY2). Things work fine on the development machine since the Design License is available. But of course I need to se the runtime license so it will load on other machines.
I'm stuck on how to set the runtime license. I have imported the COM object ...
Does anyone know of a library to handle events and recurring events likes the temporal expression libraries that exist for ruby like Runt (http://runt.rubyforge.org/) or TExp (http://texp.rubyforge.org/). Those libraries are perfect for what I need, but I need something in the >.NET Framework.
Thanks!
...
Hi, I'm sorry about the confusing title, but i didnt find a better way to explain my issue.
I have a list of objects,myList, lets call them 'MyObject'. the objects look something like this:
Class MyObject
{
int MYInt{get;set;}
string MYString{get;set;}
}
List<MyObject> myList;
...
I am looking for a nice/short/fancy way to ...
I have a list of about 25 types found in the Microsoft .NET assembly mscorlib.dll where I need to extract the IL signatures of the class and its members. I want one file per type, with each signature on one line. So, for example, take the type
System.Collections.Generic.Comparer<T>
I want to extract the following from the assembly for...
In the context of C#, .Net 4...
Given a data source object that supplies vertices by index from an array of doubles where a vertex contains ten doubles with members Px, Py, Pz, Nx, Ny, Nz, S, T, U, V. and the backing array contains all or any subset of vertex members based on the data source's stride, offset and count properties. The da...
We are currently developing a project in .NET that involves analyzing XML documents against a set of user defined rules. Here is an example:
<Person>
<Name>Bob</Name>
<Cars>
<Car Type="SUV" Color="Black"/>
<Car Type="Sports" Color="Red"/>
<Cars/>
</Person>
EG rules:
if person's name = "Bob" and has 2 cars then ......
I have an unmanaged application that uses a managed library. One of the calls the managed component makes is to the PerformanceCounterCategory class. It looks like every time any methods are accessed (for example, PerformanceCounterCategory.Exists(String)), the CLR crashes pretty hard - exceptions are not catchable, and even the debugger...
I have a remoting service which uses the Windows Auth. Been working fine for a while but yesterday my windows account has been lockout and after it has been unlocked and the password changed I have been having issues since.
It just didn't let me in with the following error:
"System.Net.WebException: The remote server returned an error:...
I have a problem and what I think is the solution. I feel that my solution is not new but don't know of any that have solved the problem the way I would like to.
I write custom websites that integrate with an off the shelf cross media platform. We have three installs of this platform. Dev, staging and production. Nothing surprising here...
I am currently creating a .NET based (website/system) solution for small IT companies and I am offering it in a self-hosted package, which means my clients are going to mainly install it on their own servers.
How do I make sure my system is not being run except on one server per client and no body is illegally-copying it to other server...
I'm trying what should be an easy bind in my user control:
<UserControl x:Class="MyApp.FlowNode" ...>
<StackPanel>
<Label Content="{Binding Path=Header, RelativeSource={RelativeSource Self}}" />
</StackPanel>
</UserControl>
With the underlying code being:
public partial class FlowNode : UserControl
{
public FlowNo...
I want to send data from my silverlight application to a aspx page. But i don't want to pass parameter in the url when calling the aspx page.
So i figure the best way is to do a POST. But i'm not too sure how to do it.. Those anybody know.
...