I'm trying to deploy a Web Forms app using the Firebase. I know it offers the SDK for .NET Framework 4.5+ and I'm using this documentation to set it up. I managed to run the hosting and access the page, where it can navigate among the HTML files within the public directory. I moved the .aspx (and .aspx.cs) files into the public directory and redeployed, but the .aspx page is displayed like a text file with all the <%: property %> tags printed as is. See screenshot below using the Wingtip Toys sample from Microsoft documentation.
I'm lost whether firebase doesn't support .aspx, I set up something wrong, or if the documentation lacks important information.
Related
So I have an app on a website that loads in an iframe. Is this allowed or not in app source and the teams design challenge. I also read that you can have an exe launch. Where would we store the exe so that it could launch?
You can load Iframe with in teams as tab. Could you please check this docs?
I am developing a training ChatBot application, where I am using Microsoft Bot Framework (.NET/C#).
When, I am using Configuring Channel - "Skype" or "Facebook"- My chat window's look-and-feel is nice without writing any css/style code, as it's visible in default css of Skype and facbook.
But when I am trying to show the same chat using Web Chat Channel in my SharePoint/Web Page (.aspx or .html), . It's not showing up in the correct/nice format, please see the below image for more details. I wonder, can we add custom css/style if I want to show this chat-bot using Web Chat channel only on any web page.
The WebChat control is an Open Source project so you can contribute changes back to the project or fork it and make any changes that you would like.
The repository can be found here.
It looks like you're using the older Web Chat control. The new, open source Web Chat control (still in preview) has much richer support for buttons, markdown, cards, etc. The new control is not enabled by default yet, but you can enable it for your bot on the Web Chat configuration page on the dev portal.
I have followed the approach mentioned in path - https://github.com/billba/botchattest
This link contains two .html(s), .CSS and .JS files.
I can make changes in CSS according to my requirement, button's style, color and font size.
As I have implemented this Web Chat/DirectLine Chat in my SharePoint Online Webpart page, so I faced an issue, which also I have fixed.
Details can be seen in - Using WebChat in SharePoint Script Editor #228
I need to make a simple paypal payment from my Windows Phone app.
I used to use PayPal's Windows 8 SDK, but it has been discontinued so I can't even get the old SDK from the official github page (http://paypal.github.io/Windows8SDK/).
The other options seems to require an integration on a web page.
I've tried looking at similar questions on S.O. but they're either outdated, or where before / while there still was the Windows 8 SDK, so they're not valid anymore.
Upon further inspection, it would seem the SOAP API don't work because importing them won't generate PayPalAPIAASoapBinding(same behaviour as a Console application, which I fixed importing an old Web Reference, which is not possible on WP) and REST APIs rely on Paypal nuGet package which can't be used in Windows Phone (https://developer.paypal.com/docs/api/).
I am currently at a loss for options (Except to set up an external website to do the job).
Having faced all the aforementioned problems (I still don't know why Paypal pulled the plug for Windows Phone support), I found a workaround.
I generated a Paypal Buy Now button
(https://www.paypal.com/uk/webapps/mpp/get-started-payment-buttons), the unencrypted & non account saved version.
I copied the code in an html file within my app and used some markers on the hidden fields that interested me (description of the product, amount, shipping costs, etc.).
From my previous page the user will select the product details he wants to purchase, such details will be passed to another page in which I have among other things a WebBrowser control.
I will replace the markers with the details passed from the previous page and load the html in the WebBrowser.
The user can then proceed with the purchase.
I am considering about making this into an open source plugin / library to make things easier for the fellow developers hit by my same issue, will update this with the link if I find the time to do so.
Unfortunately with PayPal discontinuing the WIN8 SDK, the only available solution as of now is to setup a website integration, and embedding the page with your webbrowser kit in your WIN8 APP.
Just so you know the existing WIN SDK API integration is still being supported, you may refer here for a backup git of the WIN8 SDK library.
I have a(n) (MDI) Windows Form application. It contains two forms. One form (Measured data) controls an engine, another form (laboratory) should show my asp.net web site that has various assignments for the user to do.
How can I show the asp.net default page in that laboratory form? I'm using awesomium to make a browsing window in my laboratory form.
Doing the following
webView.LoadURL("file:///D:/school/4e%20jaar/Erasmus/ErasmusProject/Laboratory/deault.aspx");
gives an error. Probably because the asp.net site isn't online. but how can I run the site so I can see the default.aspx page?
I have on solution with three projects
ErasmusProject
ASP.NET website
SIMOclasses
SIMOForm
The problem is you cannot execute aspx files with file:/// path.
You have to execute on IIS.
So first thing you have to do setup iis if you didnt, create new web site (or use Default Web Site) to execute your aspx files, than change your link file:/// to http://localhost or something.
The URL you've specified looks like its accessing the raw file via the file system. i.e. file:///D:/.../default.aspx.
(You've also misspelt 'default' in your question!)
Can you access that URL from a browser (e.g. IE, Firefox, etc) and see the content you want? I suspect you can't and that you're missing the webserver that is compiling and serving the .aspx pages.
You should host your website first :
WebDev.WebServer /port:9999 /path:"C:\Projects\MyWebSite"
I have created asp.net application and hosted on facebook.
but i cannot refer the javascript files .
they are referred in aspx pages as "Scripts/Jquey.js"
but while rendering application page in facebook.
it tries to look for.
url/page.aspx/Scripts/Jquery.js
which it cant find.
how to overcome this
If your path is relative to the root you should include the tilde, otherwise it will just be treated as relative to the page itself i.e. ~/Scripts/Jquery.js.