how can adding wsdl file to vs? - asp.net

I want to implement a simple meta search engine with asp.net that integrate result of 2 search engine without ranking the results of them.
I know first i should add wsdl file into vs so I downloaded wsdl file of google and it locate for example on my c: drive of my laptop but when in vs i want to add serviece refrence and i entered the path of my wsdl file vs can not fine it
I also try add web refrence,I don't know where is my problem
I attach the picture of it
enter image description here
enter image description here

please try this instead :
http://dic.googlecode.com/files/GoogleSearch.wsdl
ref : Unable to get Google API key and GoogleSearch.Wsdl which are required to run a perl script

Related

Display word document in flutter app from url

I have a docx file saved on firebase and I want to render this documnent in my app so not using an external app to open the document as a number of file libraries do. I have tried flutter_filereader which works perfect for a file on my phone however i cannot use it to open a url. Is this possible? I think converting it to a pdf would work as I can display those from a url, however I cannot find a library that will allow me to convert files to pdf before uploading to firebase?
Any help is much appreciated
You could display the url in-app using flutter_webview https://pub.dev/packages/webview_flutter
You can do this with a simple API call to PdftronFlutter.openDocument
Follow the this link https://www.pdftron.com/blog/flutter/build-a-document-viewer-in-flutter/. This blog said the usage of PdftronFlutter.

Files on network drive are not accessible when website is published on IIS

I have a website that shows a list of recommended documents retrieved from a network drive, Z drive. for each document, if the user pushes a button, he can navigate to the path of the file through windows explorer. below is the code.
string argument = #"/select, " + filePath;
System.Diagnostics.Process.Start("explorer.exe", argument);
an example of filepath is : z:\ecomarathon2012\04-Reports\fuel cell and batteries comparative.docx
Now, I have published the website on IIS but the button does not work anymore to show me the path of the file.
What changes I need to add in order to solve this problem for the published version of the website?
Sounds like your IIS user identity doesn't have access to the network drive. Give that user read access and I believe your code should work. If not, try to log some errors using try catch and post them here.

GoogleDrive downloadURL is not populating

I am trying to integrate Google-docs UI with ASP.NET Web application.
In this files are stored on our file storage and We want to open Google Docs Editor to edit the word/excel/PPT files.
As a part of POC for this requirement, I am doing below:
Uploading file into Google Drive using below code:
Dim objInsert As Google.Apis.Drive.v2.FilesResource.InsertMediaUpload = objDriveService.Files.Insert(objFile, objStream, sMimeType)
objInsert.Convert = True
objInsert.Upload()
Getting response after upload and using objFile.AlternateLink
property to open the Editor to edit file.
I am facing the issue to download the file when I am using
objInsert.Convert = True. when I am making the call to File object
my Download URL (objFile.DownloadUrl) is not returning it is set
with Null. If I don't use the objInsert.Convert = True then I
am getting Download URL but problem is then AlternateLink open the
file in View mode with various option, I want the URL to open it
directly in editor.
Please suggest what am I missing here.
UPDATE: this was already asked here: DownloadUrl missing from metadata for file on Google Drive API
I think it is the expected behaviour. You can't directly download a Google file type, you have to export it to some compatible format.

Error when distributing an IPA over the air with dropbox - iOS 7.1

As Apple requested to use https instead of http for distributing the IPAs over the air, I tried to use dropbox. I followed this solution Enterprise app deployment doesn't work on iOS 7.1 but I'm getting this error:
"Cannot connect to dl.dropboxusercontent.com"
when trying to install the plist through this link: <a href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/56ny312cwdacho7/xxxxx.plist> Install </a>
Thanks in advance.
NOTE : Shared links don’t render HTML content in a web browser
Refer https://www.dropbox.com/help/desktop-web/force-download
Check question
How to force render a file in a browser
EDIT : Reason is you will need to change link url and reupload it :
replace www.dropbox.com with dl.dropboxusercontent.com inall links
Reupload by making changes in link which are in html and plist file again.
Thats it. Enjoy
TOTAL SOLUTION
Needed file for distribution using example link are given below :
Build your app from xcode using Build and Archive option. Upload your ipa file to Dropbox. And get public link for the ipa.
Note : replace www.dropbox.com with dl.dropboxusercontent.com in the link.
Download the manifest.plist - edit the line #14 with the public link of your ipa . Modify other keys as well (bundle-identifier, bundle-version, title) .
Upload the modified manifest.plist to Dropbox and get its public link.
Download the index.html - edit url param at line #8 with public link of your manifest.plist
Hosting using Github. How that can be achieved is explained in following steps
Create a new project.
Add index.html as we will be hosting a site in Github Pages. Note
html file with other name will not be valid as it should always be
with index name.
Now go to project settings. Traverse through Github Pages
Under source tab select master-branch and click on save
Traverse back Github Pages you will see site will be published
Now you have Download link like https://paresh-navadiya.github.io/install.html/
Refer How to distribute using DropBox by #
oldman's answer and Distribute your iPhone/iPad adhoc builds Over The Air using DropBox
It working 100% percent.
Have a nice day to all :)
I had exactly the same issue. Firstly I tried putting all of my files in the public folder of my dropbox account. It still didn't work but I noticed with modifying my plist file I had overwritten the closing "</string>" XML tag for the ipa file itself. Once I added that back in it all worked. So whether it would have worked without moving to the public folder I do not know. I haven't tried because I have the result I desire for my users.
I faced the similar issue with dropbox few days back, saying cannot connect to dl.dropboxusercontent.com, what I did is deleting the sharable link which I created earlier and created a new sharable link for both plist and ipa files. And I updated these links in plist and html page. I don't know what was wrong with my old sharable links. Hope this answer might be helpful for someone.
Happy coding.
As already pointed out in a similar reply here, if the PLIST file is malformed, this error will appear.
In my case, I forgot the fact that the ampersand ("&") charcater is forbidden in XML, and the name of my app contained "&" in it, so I had to replace the & with & in the containing the name and everything worked.

Asp.net : Upload directory using c#

I have have a solution now to upload multiple files using (drag drop) technique by JavaScript and jQuery, but I need to find a way to upload folder with all of it is content like Google drive . Is this possible?
Unfortunately you can not do this, only with a browser.
You will have to use a custom client for this.
But a simple method will be Ask the user to ZIP the folder and upload the zip using the file-upload control.
Then on the server end, you can un-zip and read the content.

Resources