Dec 4, 2020 17:18
Plan well about the countries you travel. Get a new SIM for data on landing which covers most of the country.
 
Nov 22, 2019 12:46
Seems there is no or very less value for the work you do... Prepare your resume rather than trying to educate them.
 
May 28, 2015 17:10
Thank you :)
May 28, 2015 17:07
Thanks Mat. you made my day. You too have a nice day!
May 28, 2015 17:07
ofcourse I will. An huge chance to learn and help each other :)
May 28, 2015 17:02
:) sure will keeping try to understand oop and code accordingly
May 28, 2015 17:01
the second seems to the one that could fit me
May 28, 2015 16:59
thanks will look at it.
May 28, 2015 16:58
so I personally believe it will be hard to maintain the sequence, if it is a Replace I don't have to worry about sequence and the replace will handle it smoothly
May 28, 2015 16:57
there are rest url's that takes too many parameters
May 28, 2015 16:57
For ex to get a user detail the url here will be "http://<someurl>/user/Id=Userid?" so in the dictionary key will be "UserId" and value will be "234" and source string will be url I mentioned above
May 28, 2015 16:53
public static string BuildCompleteUri(this string source, IDictionary<string, object> uriParameters)
{

var completeUri = ConfigurationManager.AppSettings[source];
foreach (var uriparameter in uriParameters)
{
completeUri.Replace(uriParameter.Key, uriParameter.Value.ToString());
}
}
May 28, 2015 16:52
so I am trying to write a generic method that will get what url (validate user or user detail) and the corresponding parameters. Eg. for validate user, the parameters are userid and password and for user detail, the parameter is userid. so this generic method will get the url and the respective parameter(s) and do the replace logic to form the complete url
May 28, 2015 16:49
I mean <url>?id=MyUserId&amp;password=MyPassword"/> is to validate user credentials <url>?id=UserId"/> to get user details
May 28, 2015 16:48
yes it called as query string :) but part of the query string will vary...
May 28, 2015 16:47
Ok, the reason why I went for a static MyUserId, MyPassword is to replace the same with actual values while forming the complete url
May 28, 2015 16:45
I am not developing the REST but I am using it
May 28, 2015 16:44
I mean form a REST url to consume it in my application
May 28, 2015 16:44
The problem is I am not sure about how to form a REST url
May 28, 2015 16:43
will you please help me on how actually I need to create a GET call using the about url?
May 28, 2015 16:43
thanks
May 28, 2015 16:42
<add key ="ValidatePassword" value="<url>?id=MyUserId&amp;password=MyPassword"/> is a REST url
May 28, 2015 16:42
Sorry for troubling you. But I think I am not effectively conveyed about what I am doing
May 28, 2015 16:41
Hello Mat
 

 The 2nd Monitor

General discussion about codereview.stackexchange.com - Welcom...
May 28, 2015 16:41
@Mat'sMug Thanks.
May 28, 2015 16:40
@Mat'sMug Sure
May 28, 2015 16:38
I would like to discuss about codereview.stackexchange.com/questions/92050/… as I think I am missing exactly what I am doing. Is it appropriate to discuss here?
May 28, 2015 16:34
Hello Mat's Mug
 
May 21, 2014 15:55
Exactly I am look the same tut :) thank a lot!
May 21, 2014 15:48
can you help me to find a quick simple tutorial on EF? I would love to work on that immediately
May 21, 2014 15:47
EF with code first?
May 21, 2014 15:46
yes, I just did a couple of simple programs in MVC to understand how it works. Though I understand how controller, model works, the razor code is bit difficult to understand. I will work on that sooner
May 21, 2014 15:44
yes, I do understand that, I just let you know I am open to use any tools available
May 21, 2014 15:42
By now my goal is to develope a web application that implements repository pattern to fetch data from DB. I am not much concerned whether it is MVC or EF since I have good experience in asp.net I tried this design
May 21, 2014 15:39
@Mat'sMug Not a problem, I am just trying to learn the ways to design a application using patterns :)
May 21, 2014 15:38
hi
May 21, 2014 15:37
Also I believe, I've implemented Repository pattern through Interfaces and Dependency Injection through StudentRepository constructor. Correct me if I am wrong
May 21, 2014 15:37
I need it to be there in global.asax but how can I pass it from global.asax to my implementation while I access any method like FindALL() ?
May 21, 2014 15:37
Thanks! If I need to move the connection string to a common place, so that the connection string is initialised only once, how could I do that? Masterpage code behind or App code or in Global asax?