Click here to Skip to main content
15,914,165 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to create loocal SMTP server in windows Pin
Richard MacCutchan24-Jan-13 1:54
mveRichard MacCutchan24-Jan-13 1:54 
QuestionHow to extract data of a table. Pin
anubhaw.gupta23-Jan-13 20:06
anubhaw.gupta23-Jan-13 20:06 
Questionhow to use ckeditor in asp.net? Pin
Daxiii23-Jan-13 0:09
Daxiii23-Jan-13 0:09 
AnswerRe: how to use ckeditor in asp.net? Pin
R. Giskard Reventlov23-Jan-13 5:31
R. Giskard Reventlov23-Jan-13 5:31 
AnswerRe: how to use ckeditor in asp.net? Pin
Sandeep Mewara23-Jan-13 8:20
mveSandeep Mewara23-Jan-13 8:20 
Questionhow resize this image before uploading Pin
Jassim Rahma22-Jan-13 8:44
Jassim Rahma22-Jan-13 8:44 
AnswerRe: how resize this image before uploading Pin
jkirkerx22-Jan-13 12:25
professionaljkirkerx22-Jan-13 12:25 
AnswerRe: how resize this image before uploading Pin
Richard Deeming23-Jan-13 1:53
mveRichard Deeming23-Jan-13 1:53 
QuestionIssue in web farm scenario deployment ASP.NET Pin
mukeshgaharwar21-Jan-13 19:20
mukeshgaharwar21-Jan-13 19:20 
AnswerRe: Issue in web farm scenario deployment ASP.NET Pin
Sandeep Mewara22-Jan-13 2:41
mveSandeep Mewara22-Jan-13 2:41 
QuestionWebResponse Pin
pit's_world21-Jan-13 1:50
pit's_world21-Jan-13 1:50 
AnswerRe: WebResponse Pin
Ali Al Omairi(Abu AlHassan)21-Jan-13 4:05
professionalAli Al Omairi(Abu AlHassan)21-Jan-13 4:05 
Questioncolumn 'member_channel_name' does not belong to table Pin
Jassim Rahma20-Jan-13 9:57
Jassim Rahma20-Jan-13 9:57 
AnswerRe: column 'member_channel_name' does not belong to table Pin
Brij20-Jan-13 21:52
mentorBrij20-Jan-13 21:52 
JokeRe: column 'member_channel_name' does not belong to table Pin
jkirkerx22-Jan-13 12:32
professionaljkirkerx22-Jan-13 12:32 
QuestionPost and Get process ASP.NET MVC Pin
PatrikSkywalker20-Jan-13 5:10
PatrikSkywalker20-Jan-13 5:10 
AnswerRe: Post and Get process ASP.NET MVC Pin
Deflinek21-Jan-13 3:23
Deflinek21-Jan-13 3:23 
Hi Patric.

It seems that what you described as "some business logic" is some common processing that you want to fire in both GET and POST methods. In that case you can refactor it as separate method.
If that logic is valid only inside that one controller you can make private method that is called by both Item() methods - private controller methods are not mapped to MVC actions.
If it is more application wide you can also consider refactoring it out to some helper class.

BTW - copy/paste should be banned in any development environment Wink | ;)

Regards,
Mariusz.
--
"My software never has bugs. It just develops random features."

QuestionResource files show empty content Pin
Ali Al Omairi(Abu AlHassan)19-Jan-13 23:19
professionalAli Al Omairi(Abu AlHassan)19-Jan-13 23:19 
AnswerRe: Resource files show empty content Pin
Sandeep Mewara20-Jan-13 1:18
mveSandeep Mewara20-Jan-13 1:18 
GeneralRe: Resource files show empty content Pin
Ali Al Omairi(Abu AlHassan)20-Jan-13 1:51
professionalAli Al Omairi(Abu AlHassan)20-Jan-13 1:51 
GeneralRe: Resource files show empty content Pin
Sandeep Mewara20-Jan-13 3:01
mveSandeep Mewara20-Jan-13 3:01 
QuestionViewState not working in UserControl Pin
Jassim Rahma19-Jan-13 5:29
Jassim Rahma19-Jan-13 5:29 
AnswerRe: ViewState not working in UserControl Pin
jkirkerx19-Jan-13 18:35
professionaljkirkerx19-Jan-13 18:35 
AnswerRe: ViewState not working in UserControl Pin
Richard Deeming21-Jan-13 2:07
mveRichard Deeming21-Jan-13 2:07 
QuestionHow can we export data into csv format in c#.net Pin
Er Atul Sharma18-Jan-13 23:31
Er Atul Sharma18-Jan-13 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.