I have an MVC project that I would like to write in .NET 4.0
Is it possible to use Npgsql (which currently supports .net 3.5 ) if I will use it through Entity Framework, and I will limit myself to features of EF contained within 3.5?
OK I'm completely stumped here:
I have installed (and reinstalled) ASP.NET MVC2 installed several times and I still can't see the ASP.NET MVC2 project templates shown in Visual Web Developer 2008 Express.
I had checked the default project directory templates and had verified that those templates are installed, for example these templates files are found C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress\ProjectTemplates\CSharp\Web\1033:
EmptyMvcWebApplicationProjectTemplatev2.0.cs.zip
MvcWebApplicationProjectTemplatev2.0.cs.zip
Any idea of tracking what's the problem and fix it?
just was reading this article http://highscalability.com/blog/2010/3/23/digg-4000-performance-increase-by-sorting-in-php-rather-than.html
And found this nice article http://wiki.apache.org/cassandra/DataModel
I just want to know as a .net developer how to deal with NOSQL, and somethings like cassandra.
I found that cassandra is apache product, is there something like this in microsoft world? or articles to know how to deal with cassandra using .net?
Hi all,
I've installed NCover 3.4 on my CruiseControl 1.5 and after some tinking, I've got the coverage reports shown in my cleanly installed CC.
I can't see the test results however (and never could after installing CC Net 1.5, as I recall 1.4 it 'just worked').
How do I get the unit test results from NCover displayed in CC.net? (NUnit details and NUnit timings)
Thanks,
Anders, Denmark
Hi
I have a ClassLibrary in my ASP.NET Web Application solution , Recently when i do some changes in that ClassLibrary and rebuilt that , That doesn't affect the solution . While debuging and tracing instead of going into method of that ClassLibrary , i face "Disassembly" page .
I delete Temporary ASP.NET File's folder and Removed the class library from the solution and i added again several times ,But No difference
could you help me at this please ?
I have an ADO.NET Managed Data Provider that is registered in machine.config in DbProviderFactory - It is available for use from, say, Analysis Services, so I know it is correctly registered.
However, I need to be able to query the managed provider from Excel, but the managed provider doesn't appear as a choice from Data Link Properties | All Ole Db Providers.
How do I get an ADO.NET Managed Data Provider to appear there, or is there another technique I need to use?
Thanks in advance,
Eli.
My .NET application (VB.NET 3.5 if you really must know) forms do not properly format when rendered at high DPI settings. All of the fixes I've found so far simply explain the cause of the problem as "certain UI elements do not scale properly". I was wondering if anyone had a more meaningful explanation? Thanks!
I need a replacement for System.Net.Mail.MailMessage that is able to send signed and/or encrypted e-mails.
Is there an open source library covering that?
Or do you have some experiences with some of those:
Chilkat Mail
Easymail
Dart Mail for .NET
You got more?
Can I use mono's AOT (Ahead of Time compilation) feature to natively "pre-compile" all or part of some of my own .NET DLLs (and or EXEs) to make them harder to reverse engineer? I'm using Windows (7 / x64 but I have an x86 XP machine as well) and .NET 3.5 (VS 2008) and I'm curious if mono/AOT can be/has been used for this purpose? (Tying them to x86 is acceptable at this point.)
See also this question where I tried this and had no luck.
I have to get the absolute path of a windows service in a .Net Admin application. I am using ServiceController of .Net as shown below.
ServiceController serviceController = new ServiceController(serviceName);
But I don't see any property here to get the absolute path of the .exe of the service. Is there anyway to get this programmatically.
Hi All,
I'm trying to create a .NET consumer client that will connect to a FluorineFx RTMP Service.
It was very easy to create a Flex consumer client and I wish to create the same in .NET
(In other words how to connect a MessageAdapter to MessageAdapter?)
Many Thanks,
Dudi
Does Java have an equivalent to .NET resource (.resx) files for localization?
In .NET, you can define resources as key-value pairs within a standard XML document.
The resource files are named according to the culture. For example:
myresources.resx
myresources.en-us.resx
myresources.fr-fr.resx
myresources.de-de.resx
Is there an equivalent in Java? Are the similar naming conventions used for files?
Hi I found out that my application causes some errors which are logged in an Event log.
It states:
NET Runtime 2.0 Error
EventType clr20r3, P1 *****.exe, P2 1.0.0.0, P3 4b2a572f, P4 system.web.services, P5 2.0.0.0, P6 4889df18, P7 bc, P8 65, P9 system.net.webexception, P10 NIL.
How can I find out what's going on? I've tried that app locally and everything works fine.
What feature(s) of ASP.Net MVC can replace the way events can be used in Webforms to support loosely coupled components.
For example, take a simple pager control:
A page number is clicked
Pager fires off a "PageChange" event with the new page number
This subscribing page/control received the event and handles initiating a call to fetch and bind new data.
What tools are available in ASP.Net MVC to support
Loose coupling
Component re-usability
Separation of logic for a single page/view (such a very complex "portal" type page).
I ve developed a c# winforms application for sending sms by using this article of Sending sms using GSM It works pretty well... Now i want to send sms using GSM communication (ie) a mobile phone connected to PC and i have detect it and send sms using it in asp.net.....
Is it possible Connecting and sending message through GSM modem using asp.net?
Hi all,
I recently downloaded the Windows API code pack for .net, and seeing there was VB.net examples inside there, I opened them up. Upon building I get a warning that the referenced components 'Core' and 'Shell' could not be found. Looking in the code pack folder I see there are no DLLs at all, but instead a whole load of C# sources.
Do I have to download C# Express (which I want to avoid) to use the code pack or are there precompiled DLLs somewhere?
While using the .Net client TIBCO EMS, How to monitor outgoing messages from my .Net Tibco client?
I'm going to send Application-level, not jms-level, acknowlegements and replies.
How can I tell If the application sent them or not? If the client failed to send a message will it throw an exception or store the message to try again later?
Bottom line, Is there any tool enables me to monitor activities(outgoing) from client point of view?
Can I user mono's AOT (Ahead of Time compilation) feature to natively "pre-compile" all or part of some of my own .NET DLLs (and or EXEs) to make them harder to reverse engineer? I'm using Windows (7 / x64 but I have an x86 XP machine as well) and .NET 3.5 (VS 2008) and I'm curious if mono/AOT can be/has been used for this purpose? (Tying them to x86 is acceptable at this point.)
See also this question where I tried this and had no luck.
I'm creating a ASP.NET MVC website and I was wandering which techniques do you guys use to protect primary key on these mvc urls.
Actually ASP.NET MVC generates this syntax for its urls:
/Controller/Action/Id
Last week I was trying to encrypt it using SHA-1 Encryption, but this encrypter generates some special symbols like + (plus), / (slash), and other annoying chars which difficult the decryption.
Perhaps creating a custom encryption should solve the problem. But I wanna here from you guys, do you have some ideas to protect mvc urls?
I have UserControls in a Controls folder in my solution:
/Controls/TheControl.ascx
If specify the following:
<a runat="server" href="./?pg=1">link text</a>
ASP.Net seems to want to rewrite the path to point to the absolute location. For example, If the control is on site.com/products/fish/cans.aspx the link href will be rewritten to read
<a href="../../Controls/?pg=1
Why does Asp.Net rewrite these control paths, and is there an elegant way to fix it?
I have yet to use Entity Framework or .NET 4 so there will be a learning curve, but assuming good quality C# developers (who are yet to use Entity Framework and .NET 4.0), what would your ball park estimate be for say 50 pages containing text box, dropdowns and grids.
Would it be around 1-2 days per page?
I'm updating my website at the moment and figure that if I am to update my login/security mode, now is a good time.
I have looked through the Membership model which is included in ASP.NET but I'm convinced that it will provide any benefit apart from being familiar to other .NET deevlopers.
There seems to be quite a lot of documentation for it, but little discussion for why its worth the effort.
Can anybody shed some light upon this?
I'm trying to figure out how much overlap there is between the different languages of the .NET framework, and what the real differences are. Is there an overlap of libraries/methods/functions...? If I'm googling a question for, say, VB .NET, and C# answers come up, what can I take from the C#-relevant info and what differences/incompatibilities should I look out for?
How to take java apllet List variable in asp.net code behind page.
java.util.List list = (java.util.List)tr.getTransferData(flavors[i]);
how to take this 'list' in asp.net code behind page.