I have a WCF Service and a Main Lib1.
Say, I have a Save Profile Service. WCF gets data (with predefined data contract) from client and pass the same to the Main Class Lib1, generate response and send it back to client.
WCF Method : SaveProfile(ProfileDTO profile)
Current Version 1.0 ProfileDTO have the following
UserName
Password
FirstName
DOB…
Search Results
Search found 43 results on 2 pages for 'vinothkumar vj'.
Page 1/2 | 1 2 | Next Page >
-
-
WCF Versioning, Naming and Endpoint URL
- by Vinothkumar VJ
Read the article
-
pptpd-logwtmp.so config wrong ip address
- by rgc
i have setup a pptp vpn on ubuntu 10.04, and i config local ip address , remote ip address as following: local IP address 10.0.30.100 remote IP address 192.168.13.100 after i use windows to connect to vpn server in windows , i only could send packets, can not receive any packets. i also check the pptp log in ubuntu server, and find this…Read the article
-
How to sort an array by some specific key?
- by vinothkumar
I have an array look like below. $array[0]['keyword'] = 'cricket '; $array[0]['noofhits'] = '26'; $array[0]['keyword'] = 'food '; $array[0]['noofhits'] = '17'; $array[0]['keyword'] = 'mypax'; $array[0]['noofhits'] = '22'; $array[0]['keyword'] = 'next'; $array[0]['noofhits'] = '22'; $array[0]['keyword'] = 'nextbutton';…Read the article
-
How to sort the array in PHP?
- by vinothkumar
I have an array look like below. $array[0]['keyword'] = 'cricket '; $array[0]['noofhits'] = '26'; $array[0]['keyword'] = 'food '; $array[0]['noofhits'] = '17'; $array[0]['keyword'] = 'mypax'; $array[0]['noofhits'] = '22'; $array[0]['keyword'] = 'next'; $array[0]['noofhits'] = '22'; $array[0]['keyword'] = 'nextbutton';…Read the article
-
Allow text box only for alphabets using Jquery?
- by vinothkumar
I want to make the text box allow only alphabets (a-z) using Jquery? Any examples. Thanks in advance.Read the article
-
How to display after 4 week date from now?I want to pass an argument.
- by vinothkumar
echo date( "F jS, Y" , strtotime("now +3 weeks") ); It gives the result as July 2nd, 2010 . Fine.Now I want to pass the argument like this. The original print_r($originalamount) give the result like this Array ( [0] = 4 Months [1] = 3500 ) My code $text=trim($originalamount[0]); $text1="now +".$text; echo…Read the article
-
How to refresh a inbox when a new message is coming.(Like Gmail)
- by vinothkumar
In my application i have an in-box.If new message is arrived I need to increment the unread count.For that Whether I need to make the database connection for every second to find the new message is arrived?Is there any other methods?Read the article
-
Add a Session Variable or Custom field to the Elmah Error Log table
- by VJ
I want to add my own session variable to elmah error log table and display it. I already have modified the source code and added the new fields to Error.cs and other fields but I don't know but when I assign an HttpContext.Current.Session["MyVar"].tostring() value to my field in the constructor it stops logging exceptions and…Read the article
-
How to get a value of a textarea using markitup in ASP.NET MVC ?
- by VJ
I want to get the value of the text area that is basically the free Markitup rich text editor <textarea id="markItUp"></textarea> and store it in my variable so how can i do this in asp.net mvc. Also is there any way I can use the HtmlHelper to use the markitup editor, since I can easily do something like this…Read the article
-
Logging extra fields with Elmah Error Table?
- by VJ
I want to add my own session variable to elmah error log table and display it. I already have modified the source code and added the new fields to Error.cs and other fields but I don't know but when I assign an HttpContext.Current.Session["MyVar"].tostring() value to my field in the constructor it stops logging exceptions and…Read the article
-
Store and retrieve html from sql server 2008 and display using ASP.NET MVC?
- by VJ
Hi all I am trying to store html and hyperlinks in my sql server 2008 database. I want to also be able to display the hyperlinks and render the html accordingly. I am trying to do this in ASP.NET MVC so I tried using HTTPUtility.HtmlEncode() method but didnt really store it thw way I wanted. So can anyone please guide me…Read the article
-
I get error "A potentially dangerous Request.Form value was detected from the client" inspite of the
- by VJ
I am using ASP.NET 4.0 and MVC 2 I have added these lines which i found in other articles - To the Web-Config - <httpRuntime requestValidationMode="2.0"/> To the Controller - <ValidateInput(False), AcceptVerbs(HttpVerbs.Post)> To the View Page - <%@ Page ValidateRequest="false" %> But…Read the article
-
android sdk and avd manager does not launch on windows 7 x64
- by vj
hi, can anyone please confirm if android development is not yet supported on windows 7 x64? i downloaded the sdk but when i tried to launch the sdk and avd manager it fails to launch thanksRead the article
-
How to add a rich text box or use html and links in asp.net mvc 2?
- by VJ
Hi all I wanted to allow the users to enter html and links in textbox. How can I achieve something like this in ASP.NET MVC 2? I have something like this now... <div class="editor-field"> <%= Html.TextAreaFor(model => model.Description) %> <%=…Read the article
-
Can I select a set of Data and directly insert that into a table in SQL?
- by VJ
Hi I guess we cannot do this but was just curious if I could do something like - Select * from Employee where EmployeeId=1 and then use the data in the above statement and directly insert into a table with just changing the employeeid...or just this way- insert into Employee ( Select *…Read the article
-
How to perform group by in LINQ and get a Iqueryable or a Custom Class Object?
- by VJ
Here is my query - var data = Goaldata.GroupBy(c => c.GoalId).ToList(); This returns a Igrouping object and I want an Iqueryable object which I can directly query to get the data while in this case I have to loop through using a foreach() and then get the data. Is there another way…Read the article
-
When to use Stored Procedures instead of using any ORM with programming logic?
- by VJ
Hi all I wanted to know when I should prefer writing stored procedures over writing programming logic and pulling data using a ORM or something else.Read the article
-
What is the meaning of the following?
- by vj
int sampleArray[] = {1,2,3,4,5}; I understand that the sampleArray now points to the first element of the array. However, what does it mean when I say &sampleArray ? Does it mean I am getting the address of the sampleArray variable? Or does it mean a two dimensional array variable? …Read the article
-
A dropdownlist list in ASP.NET MVC although not [required] field shows up as required and Model Sta
- by VJ
I have the following code- View- <% Html.BeginForm(); %> <div> <%= Html.DropDownList("DropDownSelectList", new SelectList( Model.DropDownSelectList, "Value", "Text"))%> Controller- public ActionResult Admin(string apiKey, string userId) { …Read the article
-
How to delete multiple records in enitity framework without looping using LINQ?
- by VJ
Hi I want to delete multiple records in enitity framework without using a for loop or any other loop using LINQ. Something that we can do it in SQL is there any way to delete multiple records in enitity frameworkRead the article
-
Although not [required] List field shows up as required and Model State is not Valid due to it bein
- by VJ
I have the following code- View- <% Html.BeginForm(); %> <div> <%= Html.DropDownList("DropDownSelectList", new SelectList( Model.DropDownSelectList, "Value", "Text"))%> Controller- public ActionResult Admin(string apiKey, string userId) { …Read the article
-
Convert a string to Linq.Expressions or use a string as Selector?
- by VJ
Well I have a string now that has the expression value to be evaluated..it has say value "expr=expr.FieldName"... so I want to use this string as Linq.Expression or any other way to query...like Select(str). Please help me out.Read the article
-
How do I protect my website from javascript injection attacks when using rich text editors?
- by VJ
Hi all I am using the markitup editor to get the value for one of my fields and storing it a sql server 2008 db. Now I guess the problem is people having script tags and javascript in the editor and injecting malicious scripts and I have my validate input turned false. So can…Read the article
-
When should I opt for test driven development?
- by VJ
My question is same as the title. I have not done Test driven development yet,I have performed unit testing and I am aware of testing in general but I hear it is much advantageous to follow TDD?. So should I opt for it everytime or are there some preconditions... i just need…Read the article