hey there,
i'm trying to get certified for 70-511, but i'm low on resources, since there is no offical microsoft press materials released, and there is a huge leap between the .NET 4 and the .NET 3.5 version of the exam. The .Net 4.0 version heavily discusses WPF technology.
any ideas ?
...
The following code fails to compile (using VS2010) and I don't see why. The compiler should be able to infer that List<TestClass> is 'compatible' (sorry for lack of a better word) with IEnumerable<ITest>, but somehow it doesn't. What am I missing here?
interface ITest {
void Test();
}
class TestClass : ITest {
public void Te...
We are currently deploying a WPF 4 app via click once and there is a scenario when the installation fails.
If the user does not have .Net 4.0 Full install and attempts to install our app the framework installs fine but the app fails to install. If we re-run the installation again the app installs fine.
Here is a copy of the log:
P...
I've seen numbers about the full install size of the framework, but my Google-fu has failed me when it comes to how large the upgrade download will be. For instance, for a user who has 2.0 installed, how much will they have to download to upgrade to 4.0CP?
...
Going through some WCF hosting questions on StackOverflow, I've seen Dublin mentioned a few times as a technology from Microsoft that is forthcoming. It's only alluded to and not actually defined though. Can someone give me a good explanation of what Dublin is? Also, what is its release status and is it going by a different name now?
(H...
Do Windows Workflow Services allow multiple clients to one service? Basically what I am trying to do is this: construct a WF service that allows clients to "subscribe to the service" and then when certain events trigger a handler, it broadcasts data to each client. So basically something is going to process in the background and then whe...
I know it's a bit close to
Can I use .NET 4.0 beta in Visual Studio 2008?
But my question is a bit different. I have a project that now uses .NET 4.0 (target .NET Framework 4.0) in Visual Studio 2010. Is it possible to use the project compiled dlls in Visual Studio 2008? How?
I don't want to use .NET4.0 directly in Visual Studio 2008, ...
The wired problem is, in VS 2008, everything works fine. In VS2010 while serializing, it is missing the "ReportDimensionElements" so I'm unable to get the values back from the serialized value back from the XAML. It says, "'ReportDimensionElements' is null" am I missing anything silly.
Note: I have marked the ReportDimensionElements cla...
Strange thing happening to me with the PreApplicationStartMethod Attribute. I did implement it in my latest project. In the AssemblyInfo.cs I have the following line:
[assembly: PreApplicationStartMethod(typeof(MyAssembly.Initializer), "Initialize")]
The Type and method look like this:
namespace MyAssembly
{
public static class I...
I'm working on online video conferencing project in C# and .Net4.0.
I want a library or code which I can use for collecting web camera images per second in different form. I try this by using the AVICAP32, in which we send Messages for different purpose like copy or edit frames.but in this we have to pass a reference of picturebox while...
In Visual Studio 2010/.NET Framework 4.0, System.Xml.XmlDataDocument is marked as obsolete. Any thoughts on how to replace it with the least amount of work?
...
What is the pros and cons in using FormsAuthentication to persist a login cookie?
I see that StackOverflow ignore FormsAuthentication and instead implemented a different strategy to persist a login cookie.
Pros
Out of the box implementation for persistent login feature.
Cons
The login feature depends on the machine key which mean...
Is there a way to change the Windows wallpaper using some new feature in .NET 4?
...
I heard that .NET 4 has a new caching API.
Okay, so the good old System.Web.Caching.Cache (which is, by the way, still there in .NET 4) has the ability to set so-called CacheDependency objects to determine whether a cached item is expired or not.
One can also specify custom logic for determining whether a cached item is still useable o...
Hello,
I need to change language of validation error to another language. Validation logic must not be changed.
I just want to translate The field f5080eb8_0a83_4b89_b339_233528441711 must be a valid integer. into another language. For example from English into Italian.
I search in Visual Studio(Entire Solution) for this texts
must...
The below code makes ccrewrite blow up! Ideas?
BTW, If you comment out the ActualClass, ccrewrite succeeds...
[ContractClass(typeof(TestContracts))]
interface ITestInterface
{
bool IsStarted { get; set; }
void Begin();
}
class ActualClass : ITestInterface
{
public bool IsStarted { get; s...
A few weeks ago I changed the target .NET framework for my application to the 4th version. Recently my Resharper told me that my variable "MetaDescription" hides property string System.Web.UI.Page.MetaDescription
After small investigation the piece of code that worked earlier:
HtmlMeta MetaDescription = new HtmlMeta();
MetaDesc...
We've built a small component which takes an Id, looks up an entry in the database for an assembly/namespace/class, and dynamically loads an instance of the class that we're after. It has been working fine up until now, but when running this code in VS 2010, it's failing.
Private Function AssemblyLoaded(ByVal assemblyFile As String) As ...
Is there an Open Source Profiler for .Net 4? RedGate Antz is an option but I am looking for an open source alternative.
...
I've found a lot information in internet about this, but I can't answer for myself; will .net 4.0 application work slower if I add .net 3.5/2.0 assembly, and should I recompile them in 4.0 if I can?
...