Hello,
We have a machine that needs .NET Compact Framework installed and now we need to install standard .NET Framework 3.5.
Any problems or known issues with installing both frameworks together?
Thanks.
I'am a newbie n interest to leaarn aspnet mvc (vb) but there's too much application sample that using C#..
i just want to know how to wrote this code in VB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcGridSample.ViewModels.Shared.Grid<Customer, CustomerSearchForm>>" %>
do you have any idea??
thx before
-dix-
What are some of the most common mistakes you've seen made when handling exceptions?
It seems like exception handling can be one of the hardest things to learn how to do "right" in .Net. Especially considering the currently #1 ranked answer to Common programming mistakes for .NET developers to avoid? is related to exception handling.
Hopefully by listing some of the most common mistakes we can all learn to handle exceptions better.
Is Refactor Pro the only .NET Refactoring tool that supports the String to StringBuilder refactor?
I'm looking for one that has a trial version of this feature to see if I like it enough to purchase. The overall goal is to tidy up another developer's VB.NET code.
I've just converted an application from MVC 1 to MVC 2 using the VS2010 wizard. Not found is the Html.RenderPartial which I have sprinkled around a number of views. I am guessing that this is something that I've done wrong because I see no mention of this as a breaking change in the white papers and docs. Everything I'm using is RTM/RTW and no beta or RC versions.
Hi
I have a large index, on which Highlighter.Net works fine, but FastVectorHighlighter returns null as a Best Fragment on Some documents.
the searcher works fine. It is just the highlighter. The field has been indexed in the same manner for all documents, so I fail to understand Why it highlights some documents but not all.
Using Lucene.Net 2.9.2, built from trunk rev942061
I have a need to add business reporting for an application I am working on. I have found very little in the way of support for MVC natively. I would like to get a feedback on tools that people have used, how they used it (native or hybrid) and if possible links to examples demonstrating integration.
I'd like to get feedback on use of
Crystal Reports
SSRS
Telerik
MVC Reporting Solutions
SSRS - requires hybrid application with winforms page hosting the report
Telerik - ???
Crystal Reports - requires hybrid application with winformats page hosting the report
if this is asked before just point me in the right direction
I am a OO and MVC newbie. I am following along the MVC Storefront(a little outdated now)
where they are talking about routes and adding them to global.asax.cs
My question is this. wouldn't it be better if only 1 route is defined and after that everything is done programatically?
I dont want the user to navigate using the address bar
thank you
Hi,
I'm having 5 mvc application where i need to deploy it in IIS.
If I deploy it seprately each in IIS its working.
But I need in the following structure.
- MyApplications under this all my mvc application need to be deployed.
I'm using IIS 7 and tried in IIS 6.x subversion also,
Show error like MyApplication/Mvcappl1 virtual path is using by another application. But if host seprately it works
How can i do this.
I am in the way building some MVC Application and I really love the Data Annotations support in MVC. The build in support is good enough to enforce simple validation checkup. I wonder, how to implement unique-field validation using custom data-annotation ? For example, I have a view model that need the user to register a new login name, is there way to check (using Model.IsValid) whether the name is not existed before calling the db submit?
Can a VB.NET For loop be constructed that mimics this C# code?
TimeSpan oneDay = TimeSpan.FromDays(1.0);
for (DateTime d = startDate; d < endDate; d += oneDay) {
// some code
}
Obviously you could do it without a For loop (i.e., with a While); I'm just curious if there's a certain syntax to construct a VB.NET For loop with a non-integer increment that I'm not aware of.
I have an ASP.NETMVC application where the default page should be an index.html.
I can browse to the file using www.mydomain.com/index.html but if I use www.mydomain.com I get a 404.
I have check to see if the default document is correctly set in IIS7 and it is and I have even commented out all my routes to ensure it isn't that.
Does anyone know how to get ASP.NETMVC to serve the default document?
What version of .NET (64-bit vs. 32-bit) will be loaded if some of the assemblies referenced in an app are compiled with 32-bit only (instead of AnyOS) setting? Will the app still run as 64-bit or will it be forced to run as 32-bit if at least one of the referenced assemblies is compiled as 32-bit only? The app is running .NET 3.5.
Hi
We are planning to upgrade our technology to VS 2010. But I wonder if the MVC 2.0 is working properly since it has many issues raised from software developer who used it please see here: http://aspnet.codeplex.com/releases/view/41742.I want to use MVC 1.0 in VS 2010 is it compatible?
Hello experts! I'm having a weird issue here.
I have a bunch of Views, in which I have characters like this: é, á, ó, etc.
In one of my Views, I can fetch data from the database with accents just fine, but in another one I simply get the "weird" characters.
What can i be doing wrong? Do I need to configure something in order to this work?
Thanks!
What are your opinions on using web controls in an MVC context?
I came across a good discussion here http://odetocode.com/Blogs/scott/archive/2009/04/09/asp-net-mvc-controls-and-good-versus-evil.aspx but would like to know what the community thinks.
I'm in the process of converting a couple of sites up to .net 4.0 and I seem to have a problem with regionalisaion of dates.
This code:
Date.Today.AddDays((Date.Today.DayOfWeek - 1) * -1).ToString()
In .net 3.5 produces: '19/04/2010 00:00:00'
but as soon as I change the app pool to 4.0 it produces: '4/19/2010 12:00:00 AM'
Where can I change the setting that governs this?
I am using VS 2010 MVC 2 to create a ascx file but the intellisense for html extension methods does not show up even after importing the System.Web.Mvc.html namespace. Do I miss anything?
I am writing a app in .NET which will generate random text based on some input. So if I have text like "I love your {lovely|nice|great} dress" I want to choose randomly from lovely/nice/great and use that in text. Any suggestions in C# or VB.NET are welcome.
What advantages, if any, does MVC jQuery Validation offer over the built-in MVC client validation?
I've used the built-in validation and am just curious as to if I'm missing anything or not.
I'am a newbie n interest to leaarn aspnet mvc (vb) but there's too much application sample that using C#..
i just want to know how to wrote this code in VB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
Inherits="System.Web.Mvc.ViewPage<MvcGridSample
.ViewModels.Shared.Grid<Customer, CustomerSearchForm>>" %>
do you have any idea??
thx before
-dix-
Hello experts!
I'm having a weird issue here.
I have a bunch of Views, in which i have characters like this: é, á, ó, etc.
In one of my views I can fetch data from the database with accents just fine, but in another one I simply get the "weird" characters :P
WHat can i be doing wrong? Do i need to configure something in order to this work?
Thanks!
I'm looking to create a new app from scratch and will probably use Spring MVC and possibly Spring Web Flow. The projects created by Spring Roo use Spring MVC and optionally Web Flow. What are some good alternatives for view technology, or is JSP with spring and jstl taglibs and jquery the way to go?
In most MVC based framework I see a router object. If I look at it splits up the uri and decides what controller should be used, and which action should be fired.
Even though this makes a lot of sense, I can not give this a place in the MVC patern. Is splitting up the uri not the job of the controller. And then the controller should just decide which class and function to run.