ReBuildAll Blog
Thoughts (mostly) on .NET development

Comments

Carlos Re: WCF service namespaces (getting rid of tempuri.org)
Thank you.
Prawit Re: jQuery validate and the comma decimal separator
help me
how to use coding html
thank
kochobay Re: ASP.NET MVC and virtual views
Dear Lenard,

Does this work for partial views as well?

Best regards
manoj Re: WCF service namespaces (getting rid of tempuri.org)
i want to use webservice namespace like this

[WebService(Namespace = ConfigurationManager.AppSettings["WebServiceschkuser"].ToString())]

But i am getting error

Error 370 An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type E:\NOVACRM_R2\NovatimeCRM\WebService\WebServiceLogin.asmx.cs 24 30 NovatimeCRM


please help me
Abdul Wahab Re: Extending MVC validation with new rules
Hi,

It's not working in my case.. could you please help out ?
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