Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7520941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:09:13+00:00 2026-05-30T02:09:13+00:00

I have a case in my application where no two records should have the

  • 0

I have a case in my application where no two records should have the same Assessment name. To do so i am implementing this rule using the Remote validation attribute for both client and server side validation. As follow:-

[Remote("CheckAssessmentName", "Assessment")]
[Required]
public string AssessmentName { get; set; }
public JsonResult CheckAssessmentName(string AssessmentName)
{
    var c = elearningrepository.checkname(AssessmentName).Count() == 0;
    return Json(c, JsonRequestBehavior.AllowGet);
}

The problem is that the client side validation will be triggered each time the user insert or delete a character in the Assessment name field ,, so i am afraid that this will cause a performance issue assuming that i might have hundreds of assessment records, so should i use my current approach or there is a better way to do this?

Second question can i disable the client side validation for this specific Remote validation attribute for that i will only check the existence of the assessment name only on the server !!?
BR

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T02:09:14+00:00Added an answer on May 30, 2026 at 2:09 am

    No one can answer this for you without knowing your server stats, what else is running, network perf , query with or without indexes etc

    Try it, just remember you have to check on the server side as well since remote validation does not automatically Validate again when you save your form meaning if JavaScript is off( or scripts havent loaded before they submit the form) then they can bypass the checks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a regular .NET application. In this case I have a part that's
We have a two tier Swing application using Hibernate. Sometimes we manipulate an object
Using VS2008 TFS I have created a setup application that installs two Window Services.
We have an internal .NET case management application that automatically creates a new case
today I have coded a test case for my application, to see how transactions
My use case is very simple : I have a GUI application, and inside
I have a CakePHP 1.2 application. I'm running into the case where I need
I have a case that keeps coming up where I'm using a ListView or
I have an application consisting of two windows, one communicates to the other and
I have two rails application running at different ports. First at 3000 and the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.