|
Dear,
Scenario is: We have to push data through a web service which is already developed in RESTlet by some other client. And we have to consume it in ASP.NET in our ERP. The parameter shall passed to web service is JSON format.
The only question from my side is:
1): How we consume the RESTlet Web Service is ASP.NET. Developed by by some other client.?
2): Where we will call it.? bcz some people suggest in ".CS" & some one suggest in Html page. I am beginner & little bit confuse.
Kindly help me out.? Implementation at our end is very critical.
|
|
|
|
|
It depends upon your requirement.What are the functionalities you try to achieve through webservices?
|
|
|
|
|
I want to call the Restlet service to push data on vendor server. How & where should we call the following in ASP.NET in C#:
https://xx.xx.xxx.com/app/site/hosting/restlet.nl?script=78&deploy=4&MyData=
MyData Format(JSON):-
[
{
"Name":"John",
"DOB": "20/09/2013",
"Age":"28"
},
"Name":"Kies",
"DOB": "20/08/2013",
"Age":"23"
}]
Please Help me out...........
modified 24-Sep-13 3:29am.
|
|
|
|
|
|
code to send email form contact us page..
having : Name :
Conatct No:
Message:
in asp.net mvc4
|
|
|
|
|
|
5ed!
--
If money is your hope for independence, you cannot reach it.
Being loved gives you strength,
while loving gives you courage.
|
|
|
|
|
Hi i have a web application which works with http extension.I want to make it work in https.Please share steps which are required to achieve this
Chandra Sekhar
|
|
|
|
|
|
what is problem of this code?
dont work in fire fox onlu
@font-face
{
font-family: 'B Yekan';
src: url('../../../DirFont/Yekan.eot?#') format('eot'),
url('../../../DirFont/Yekan.woff') format('woff'),
url('../../../DirFont/Yekan.ttf') format('truetype');
}
body
{
font-family:'B Yekan' ,BYekan,Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
color: #666;
font-size: 12px;
line-height: 1.5em;
background-color: #eeeff3; background-repeat: repeat-x; background-position: top
}
|
|
|
|
|
I make a dedicated CSS file for each font, this is what I use and it works fine in all browsers, no complaints in 2 years.
@font-face {
font-family: 'beryliumRG';
src: url('/fonts/Berylium/berylium_rg-webfont.eot');
src: url('/fonts/Berylium/berylium_rg-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/Berylium/berylium_rg-webfont.woff') format('woff'),
url('/fonts/Berylium/berylium_rg-webfont.ttf') format('truetype'),
url('/fonts/Berylium/berylium_rg-webfont.svg#beryliumRG') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'beryliumRG_IT';
src: url('/fonts/Berylium/berylium_rg_it-webfont.eot');
src: url('/fonts/Berylium/berylium_rg_it-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/Berylium/berylium_rg_it-webfont.woff') format('woff'),
url('/fonts/Berylium/berylium_rg_it-webfont.ttf') format('truetype'),
url('/fonts/Berylium/berylium_rg_it-webfont.svg#beryliumRG_IT') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'berylium_BD';
src: url('/fonts/Berylium/berylium_bd-webfont.eot');
src: url('/fonts/Berylium/berylium_bd-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/Berylium/berylium_bd-webfont.woff') format('woff'),
url('/fonts/Berylium/berylium_bd-webfont.ttf') format('truetype'),
url('/fonts/Berylium/berylium_bd-webfont.svg#berylium_BD') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'beryliumBD_IT';
src: url('/fonts/Berylium/berylium_bd_it-webfont.eot');
src: url('/fonts/Berylium/berylium_bd_it-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/Berylium/berylium_bd_it-webfont.woff') format('woff'),
url('/fonts/Berylium/berylium_bd_it-webfont.ttf') format('truetype'),
url('/fonts/Berylium/berylium_bd_it-webfont.svg#beryliumBD_IT') format('svg');
font-weight: normal;
font-style: normal;
}
Then I use it in another CSS File
.txt_BeryliumRG
{
color: rgb(0,0,0);
font-family: "beryliumRG", Georgia, Serif;
font-size: 1.2em;
font-weight: normal;
text-indent: 0.25em;
text-align:justify;
}
modified 1-Sep-13 15:33pm.
|
|
|
|
|
I am interested..,
I normally get fonts as .ttf, do I also need them in .eot, .woff and .svg format? I read somewhere that all browsers support .ttf formats.
I remain joe!
|
|
|
|
|
You have to get all 4 versions of the font
eot
svg
ttf
woff
There's a font website that will convert fonts to all 4 formats and you can download the font package in a zip file.
[font squirrel^]
|
|
|
|
|
Two points to check:
- space in name of font-family "B Yekan" - I'd prefer "BYekan" instead.
- relative URL to the location: url('../../../DirFont/Yekan.ttf') format('truetype'); - I'd prefer an absolute URL instead: how do the browsers / the web server behave when you use too many "../"?
|
|
|
|
|
I am doing my final year fyp and want to add searchbox in my web application. Can anyone suggest me better way to do that ?
I have got database table tblVDC with 5000 data and I want to keep the search box in aspx page so that user can find the required data fast.
|
|
|
|
|
|
|
In my local machine in my web site. I have a url mapper http module in place which maps a url like
2013/09/pid/productname.html/webpagemethod to product.aspx/webpagemethod?id=pid&y=2013&m=09&name=productname
What I'm trying to do is invoking the webpage method via REST method. I have included ScriptHandlerModule in httpmodules section of the web.config file. The call to the webpage method from the javascript fails in my local machine with error saying "this method is not allowed" but succeeds when is run from the deployment machine. The only difference between the local and deployment machine is the former is IIS6 and the latter is IIS7.5 in integrated pipeline mode. Does anybody know the cause?
Should query string parameters be included in a REST request at all?
Thanks in advance
|
|
|
|
|
Setting ACE is very slow for folder with many files and subfolders. My folder has 35602 files and 648 subfolders and SetAccessControl method needs 30 minute to remove a user from this folder.
I am removing a user from the security tab of folder using following code.
DirectoryInfo dirInfo = new DirectoryInfo(folderPath); DirectorySecurity fSecurity = dirInfo.GetAccessControl(AccessControlSections.All); fSecurity = CanonicalizeDacl(fSecurity);
fSecurity.RemoveAccessRule(new FileSystemAccessRule(coworkerAccount, accessRight, AccessControlType.Allow));
dirInfo.SetAccessControl(fSecurity);
SetAccessControl method takes a long time when the folder having many files.
Mahendra
|
|
|
|
|
sumB wrote: SetAccessControl method takes a long time when the folder having many files. That is inevitable. Each file takes a finite amount of time, multiply that by 35602, plust the time taken to traverse 648 subdirectories, and you get a larger finite time.
Veni, vidi, abiit domum
|
|
|
|
|
Yes, I understand you concern but do we have any technique to overcome the time issue.
Mahendra
|
|
|
|
|
The typical way I was taught in my days as an administrator was to use groups for file access rights. All that would be needed to remove an account from accessing the files was to remove them from the group, which in itsself is a quite speedy process. There is also nothing preventing you from having just a single account in such a group. The group access rights can be removed by some background process then after the last account from the group has been removed.
Still, removing an account from that group will immeadiately keep that account from accessing the files.
Hope that will help you in the future.
Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
Hi,
Which control is suitable for enter the topic details with image, urls and smiley options?
Can one one please help me?
Karteek Panakani
Junior Software Engineer
|
|
|
|
|
There's nothing built-in. You'll need to look at an HTML editor control[^] such as CKEditor[^] or TinyMCE[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Take a look at this,
Its a neat little tool..
http://cutesoft.net/ASP.NET%2BWYSIWYG%2BEditor/[^]
You also could google a few others too..
Forum software often uses third party controls like this for posting..
But, there they are just helpful.. you will have to code your own features but some of this little html editors sure will help.
=)
|
|
|
|