|
i waht to know what is WCF and how to learn it
Thanks
|
|
|
|
|
WCF Tutorials[^]
As barmey as a sack of badgers
Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.
|
|
|
|
|
Is it difficult to find it out in google; the tutorial site and the books?
IMO, getting a book and reading it from scratch should help you more.
Well, wrong forum.
CodeProject has got a separate forum for WCF:
WCF Forum in Code Project[^]
|
|
|
|
|
I am trying to remove address bar of browser from javascript. I am writing the following code
window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no');
please help,
Thanks in advance.
|
|
|
|
|
amitrajahuja wrote: I am trying to remove address bar of browser from javascript.
Then why haven't you asked this in the Javascript forum instead of here?
I could be wrong, and can't find a reference now, but I seem to remember reading that Microsoft had removed the ability to do this, on the grounds that users had a right to know the address of whatever page they were on (and maybe re-directed to unwittingly) - call it a security measure.
|
|
|
|
|
search on google you will find it
|
|
|
|
|
hi, just try this.
I think in new versions of IE address bar will be visible ...
var strVal = "toolbar=0,location=0, directories=0, status=0, menubar=0,scrollbars=0,resizable=0," + "width=" + width + ",height=" + height +",left=" + left + ",top=" + top
window.open("newWindow.aspx", "new", strVal);
|
|
|
|
|
Hi, i have a requirement like as below.
I need to get the current url of the browser in the code.Based on that url the logic will depends. The problem is we are doing URL rewriting in web.config.
Original URL - http://mysite.com/test/mypage.aspx
URLRewrite - http://mysite.com/site/champ
In my code if i use Request.URL i am getting URLRewrite one. But how can i get the original url in mycode ?
Please suggest me
G. Satish
modified on Friday, October 29, 2010 3:49 AM
|
|
|
|
|
Did you try
Request.QueryString ?
|
|
|
|
|
Try this
string sURL = Request.Url.AbsolutePath;
thatraja |Chennai|India|
Brainbench certifications Down-votes are like kid's kisses don't reject it Do what you want quickly because the Doomsday on 2012
|
|
|
|
|
hai,
i create a records asp.net used datatable,i am using stored procedure format.Result data to create csv file format.
thanks,
Karthikeyan.
modified on Thursday, November 11, 2010 9:27 AM
|
|
|
|
|
What is your Question ?
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hi,
I am using the following code to prevent caching:
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
This may prevent caching for the aspx page. But i want to prevent all the javascript files also to be saved in "Temporary Internet Files". How can i achieve that?
|
|
|
|
|
You could add a caching rule under system.webServer in your webConfig:
<caching>
<profiles>
<add extension=".js" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange"/>
</profiles>
</caching>
You can find more information about this here: http://www.iis.net/ConfigReference/system.webServer/caching[^]
I won’t not use no double negatives.
|
|
|
|
|
i want to increase the space between to record front the front end by passing value as a parameter like 1,2,3
that should increase line spacing by 1,2,3 lines
how can i achieve this plz help
|
|
|
|
|
Is repository pattern is implemented only through ORM technologies?
I want to implement it using plain old clr objects, but i dont find any relevant material in google
|
|
|
|
|
Do not try and bump your question by asking an almost identical question again.
|
|
|
|
|
I want to ignore focus on a control but I can't find TabStop like property.
How to ignore a control from getting focus.
|
|
|
|
|
you have to di it on Javascript because it's a Front end functionality not back end.
Look at the internet for Javascripts samples to resolve your problem.
Goof luck
|
|
|
|
|
|
Hi, I work in the insurance industry and we are having to go through our code to check for any instances of hard-coding of 5% as the Insurance Tax (IPT) in increasing to 6%.
The increase comes in on 4th January 2011 I think. I've noticed in my initial investigations that we have some hard-coding of the 5% calculations, etc, and some of our tables hold 0.05 as the rating factor, etc.
The problem is the business is online and as it strikes midnight we would have to cater for the IPT increase. We also need to cater for existing business pre-IPT increase in terms of documentation, quotes, etc to leave the 5% in.
Can anybody please recommend what approach they would take to resolve these problems?
Thanks in advance
|
|
|
|
|
Firstly I would remove all of the hard coding and use a commonly defined variable. I would then look at applying the stretegy pattern so the proper tax rate can be applied at the proper time and under the proper circumstances
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
As this is urgent, my advice is to create a static class with the rate defined as a readonly constant, and a static property to define the rate. Point all the hard-coded values at the static class property, then fix your SQL Tables.
After you've fixed it everywhere you'll should be OK for midnight. Tomorrow, start refactoring so the rate is set in one place in the database and the static class retrieves it from the rate table. Don't leave the static class as I have described it.
|
|
|
|
|
I agree with Keith with one extra. Add a field to the rate table defining an effective date for the field and then have the old and new rates both in there. In your static class you only have to write it to pull the correct rate based on the current time and the changeover can happen automagically.
I'm not sure if it is an official development term, but we do that sort of thing all the time here with pricing changes, etc. and call it time-coding.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Thanks for the replies guys, it would be great to have one central table containing the IPT rates and dates effective but this would be extremely difficult to do given there is only 2 developers in the team and the IPT is a rating factor in a few products quote engines.
We also need to cater for the pre-IPT increase customers in terms of documentation and also have to re-quote them as their quotes could potentially be incorrect depending on the cover start date.
|
|
|
|