ReBuildAll Blog
Thoughts (mostly) on .NET development

Comments

Anwar Re: jQuery validate and the comma decimal separator
Hello.

I might be late, but here is my solution: i have a ERP that can be configured for the locale settings of the account, so, i don't load the jquer.validate.js file, i built it over a PHP file, and i replace the comma and the point in the regex function with the account values of those configurations (couldn't upload the code, the server throws an error)

Best regards.
Charles Re: Moving ASP.NET Identity model into another assembly
What is the reason Microsoft left all of this to default as is? If a situation does not demand all the rearrangement why would anyone want to do this?
Marcin Re: jQuery validate and the comma decimal separator
Great Job. I search this solution in simple way and I find it. Thank you very much.
Best regardst from Poland :)
Rikin Re: LINQ CreateDatabase cannot resolve DataDirectory
Thank you very much for this info.... Grt
UserDev Re: Merging WSDL and XSD files
Its worked for me, Its great solution.
Re: jQuery validate and the comma decimal separator
Thanks!
I'm just replace my code for:
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:[\.,]\d+)?$/.test(value);

It's works!
Johan Re: jQuery validate and the comma decimal separator
Cheers from me as well, this is still the most simple solution if you actually know ALL your users are ALWAYS going to use say for example Swedish or Finnish. I Went down the globalization*.js rabbit hole and all went dark...and cold...and scary... and I backed out again :D

Free beer if you come to Stockholm, just contact me (truly)
rob Re: jQuery validate and the comma decimal separator
Exactly what i needed!

Thanks! :)
Vitor Re: SQL Server User Instances and the Database 'abc' already exists mystery
This worked fine, thanks
pregunton Re: WCF service namespaces (getting rid of tempuri.org)
I'm newbie and confused about it.

Why address is "RebuildallService.svc" ?

Which is the URL for WSDL ?
Which is the URL for Endpoint Address?

I think is not the same.
Maybe

http://server/virtualdir/Rebuildallservice.svc?WSDL is the url for WSDL

http://schemas.umbraworks.net/rebuildall/Rebuildallservice.svc is endpoint address

Maybe if I want configure HTTPS is more complicated.
rahul Re: WCF service namespaces (getting rid of tempuri.org)
giv me sol this error


The type 'WebService.Service1', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
ewebbi Re: WCF service namespaces (getting rid of tempuri.org)
Thanks
Jake O Re: ASP.NET MVC and virtual views
Anyone have any luck doing this with Razor HTML?
Ofer Re: Running .NET threads on selected processor cores
You could not put it clearer. Thanks a lot, it's been a great help!
Andreas Re: ASP.NET MVC and virtual views
Was able to get it to work:

http://forums.asp.net/p/1993252/5721960.aspx?p=True&t=635391100341768325&pagenum=1

Andreas Re: ASP.NET MVC and virtual views
Hello,

I agree with Wednell, I have not been able to get it to work with MVC5.

I posted this sample with Mvc5:
http://forums.asp.net/t/1990471.aspx?GetFile+not+beeing+called+in+VirtualPathProvider+Mvc5+

GetFile is never called and an exception is thrown as soon as FileExists returns true and a File does not exist.

I do not know where to go from here, Kind blessings

ali Re: ASP.NET MVC and virtual views
hi
my virtualpathprovider work when i run project with visual studio and iis express
but not work when i publish this on iis
plz help
Lenard Gunda Re: ASP.NET MVC and virtual views
Hi Wednell,

I played around in MVC 5 recently with compiling and serving Razor views from a .DLL. I will have to check what I did, because I did not run into any trouble there. Of course there I did much more than just serve views as I needed to compile them as well, but the basics should be the same. Let me get back to you on this one.

/Lenard
Wednell Re: ASP.NET MVC and virtual views
Maybe it worked in mvc4 but in mvc5 this does not work GetFile is never called. If FileExits returns true asp.net is bypassed and IIS assumes it can get it which results in a:

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Any suggestions?
amir Re: ASP.NET MVC and virtual views
LIKEEEEEE
strong_wind Re: Moving ASP.NET Identity model into another assembly
I agree with Rich C. I'll try to get that code out of my AccountController.
How did you do it, Rich?
Re: jQuery validate and the comma decimal separator
Beautifull
Rich C Re: Moving ASP.NET Identity model into another assembly
This worked perfectly as described. And to answer Konstantin's question, all you have to do is add a using statement on the AccountController.cs file for the namespace (e.g. DataLayer.Models) that you put your ApplicationDbContext and ApplicationUser classes in.

However, the whole reason to pull this out of the web applications (for me anyway) to eliminate the dependency of the Entity Framework reference in my web application. Since I'm doing all of my data access in my DataLayer assembly, my web application shouldn't care about entity framework. In your solution above, you make no mention of the steps to fully eliminate this from the web application so it seems like the worst of both worlds.

I'm sure I'll be able to extract all of the code out of the account controller to get this done, it just seems like it would be remiss from your tutorial not to mention this step as well. (just my two cents)
Re: ASP.NET MVC and virtual views
Could u please post the source code of the example
Niklas Re: LINQ CreateDatabase cannot resolve DataDirectory
Thanks a lot for this blog post, very helpful! Weird that it's still not fixed in LINQ to SQL.