Hello
I have a table Item (ItemId int PK, Title vc, Description vc)
I created a testing view called ItemView: SELECT * FROM Item.
I added this view to my model, removed all the keys but the real key, added a 1-1 association, and mapped it, but I get 2 errors:
The table/view 'dbo.ItemView' does not have a primary key defined. The key...
Hi All, Im just wondering if anyone has used DevExpress's MVC Extension controls successfully on .net framework 4.0 MVC 2?
All reference I see to the product seem to only support 3.5.
Thanks
...
So what I want is simple - control over processes that are ran on different connected (at least via ethernet) group\grid\cluster of PCs... something like "Parallel C#" but in form of array of .net libs and programs.
Is there any programmable parallel programming environment\framework for C# developers?
...
Can I include sections of code written in Visual C++ in my C# app, or vise-versa? I know that you can do that in Objective-C, so I wanted to know if it was possible in C# (.NET 4.0).
...
I have a .Net library. say with 2 public functions. say one is Summmator which takes 2 arguments and does A+B. Another function simpleMultiplicator which takes 2 arguments: a number to multiplicate and count of times it should be multiplicated. A simpleMultiplicator function when called uses Summmator function. So it is my library. It is...
Hi,
I have an ASP.NET web application (.NET 4.0) that has a few pages, one page with a silverlight application in it.
When I debug locally, the silverlight app works fine. When I deploy to my web server (Windows Server 2008 R2, IIS 7.5), the silverlight app will not display.
I get an exception in Application_Error saying the following...
I am working on .Net framework.
I have created an application that creates a custom culture in my local computer. (Since it is a test application, it'll not be shipped or deployed anywhere else than my computer)
When I try to register the custom culture, it tries to access C:\widows\Globalization folder. I am getting UnauthorizedAccess...
If I create a library with most functions meant for overwriting, meaning that you will need to put your logic into some of initial library functions to get what you want from library. will it be normal\usual\OK? will such library be called a framework?
Example In my library I have CreateData function, lots of other functions and one, le...
I have .Net framework 4.0. It doesn't provide the Configuration tool as earlier versions did.
With framework 4.0, how do we see the permissions given to an assembly?
...
I'm using DataServiceContext to load some entity projections (entities have many properties, to minimize traffic I load only those properties, which are needed at the moment) like this:
from x in ctx.Portfolios
select new
{
Id = x.Id,
Name = x.Name,
PortfolioName = x.PortfolioName,
Desc...
Greetings!
I have classes like these:
class TestClass1 { ... }
class TestClass1Array: IEnumerable<TestClass1>
{
//some properties plus full IEnumerable support
}
class TestClass2
{
public TestClass1Array Test {get ... set ...}
...
}
class TestClass2Array: IEnumerable<TestClass2> { ... }
is it possible to bind them to 2 listboxe...
Hi!
I want to have an ObjectQuery that returns tracked entities (not static data), but I don't want it to load all the columns, I want some columns to load as null, I don't want to use select, since this will return an IEnumerable of the values, not tracked objects.
Is there a way to do it?
If yes, how do I then complete reloading tho...
Hi
I'm getting errors with an application on our test web server, which has .NET 4.0 installed, when I input HTML into a form. I get the usual errors of:
A potentially dangerous Request.Form value was detected from the client
This is being caused by the change in .NET 4.0 that disables switching off automatic validation for HTML inpu...
This is driving me nuts, maybe I'm missing something but I'm trying to upgrade a .NET 3.5 application to .NET 4.0 and the only problem I'm running into is this class:
3.5 Code:
public class ServiceHostFactory : System.ServiceModel.Activation.ServiceHostFactory
{
protected override System.ServiceModel.ServiceHost CreateSe...
I have found this link about similar problem, except mine has the added twist of the textbox needing to have a formatted value after focus is lost.
<TextBox Text="{Binding Value}" MaxLength="{Binding MaskLength}"/>
<Button Command="{Binding ExecuteCommand}" IsDefault="True"/>
After the user enters text into the textbox I would like to...
Can these framework versions work and play well on the same server? Meaning that can IIS support two application pools where one pool is configured with .NET 4.0 and the other with .NET 1.1.
EDIT: This question is concerned with IIS 7.
...
I have several xml namespaces that expose the same schema.
I want to use a function that dynamically accepts a namespace and applies the attributes or the properties according to the specified namespace:
Public Sub ProcessElement(element As XElement, [namespace] As XNamespace)
element.<[namespace]:Property>.Remove()
End Sub
I actua...
I'm making a very simple WCF (C#, .NET 4.0) licensing program that automatically emails a user a key they can use to activate the software they just bought.
My idea is my website would call a function provided by my service which would generate a key and then send the key the email provided. Later my software would also call that servic...
I have a a dynamic value (implementation of IDynamicMetaObjectProvider) that I'd like to call methods and properties on.
Examples I have found so far of invoking members on a dynamic value use types out of Microsoft.CSharp.dll, e.g.
IDynamicMetaObjectProvider x = GetDynamicValue();
CallSite<Func<CallSite, object, object, object>> site ...