ReBuildAll Blog
Thoughts (mostly) on .NET development

Comments

   Next >
Brayan Loayza Re: jQuery validate and the comma decimal separator
I Love you bro, you save my life, asp is terrible....!
I Uydur Re: jQuery validate and the comma decimal separator
Kiitos! Thank you very much Lenard!

This spare me a lot of time and took my frustrations of jQuery script away.

Why didn't I thought of overloading earlier :D
BALAJI LAXMANRAO BIRAJDAR Re: Moving ASP.NET Identity model into another assembly
I have a business layer between the data layer and UI layer. How can I achieve this? And ideally, we shouldn't be passing the Data Entities to the UI layer. So what is the way to move the ASP.NET Identity classes to Data Layer so that we can have a single myDbContext and allows for foreign key linking of the User tables with Application tables with Code first approach?
Mathew Baker Re: jQuery validate and the comma decimal separator
Thanks Lenard... I spent hours searching and trying different solutions. Your solution worked straight away...THANK YOU!!!
paul dwight Re: Dangers of comments with ASP.NET
I likeit
Moshe Re: Running .NET threads on selected processor cores
Hi,

Thank you for the great explanation and code... It works like a charm :)

Is there a way to update the affinity after while the thread is running ?

Thanks,
-Moshe
Jaime Re: WCF service namespaces (getting rid of tempuri.org)
Hello...

How to change the binding namespace in .NET 4.5? in this case, no "services" tag exists.

Regards
Jaime
Tony Re: Running .NET threads on selected processor cores
May I ask a question? I don't understand what the "ThreadProc" variable is. Can you please clarify? My understanding is that I need to execute the code immediately after your code, i.e.

DistributedThread thread = new DistributedThread( ThreadProc );
thread.ProcessorAffinity = 2;
thread.ManagedThread.Name = "ThreadOnCPU2";
thread.Start ();

Mycode();

My apologies for the silly question.

Regards
Proto520 Re: WCF service namespaces (getting rid of tempuri.org)
Thank you very much. You just saved my life giving me the hind regarding bindingNamespace. I already spend the whole day investigating how to get rid of the extra import line having tempuri.org. That was driving me nuts! Again, thanks a ton!
Petros Re: Running .NET threads on selected processor cores
In order to choose the processor by number, the following change need to be done:

public int ProcessorAffinity
{
get { return this._processorAffinity; }
set
{
int affinity = 1 << value - 1;
this._processorAffinity = affinity;
}
}
PS. please delete my previous comment
Petros Re: Running .NET threads on selected processor cores
In order to choose the processor by number, the following change need to be done:
public int ProcessorAffinity
{
get { return this._processorAffinity; }
set {
int affinity = 1 << value;
this._processorAffinity = value;
}
}
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
   Next >