back soft

مطالب مرتبط با «net» در back soft | نویسنده: استخدام کار

Get base uri of io.netty.handler.codec.http.HttpRequest

Vote count: 0 In netty HttpRequest there is only a method request.getUri() which retus the path after host:port. Is there anyway I can get the entire url, or the host:port values separately? asked 51 secs agouser2894296 Let's block ads! بخوانید...

ادامه مطلب

ASP.Net MVC5: Area Layout changes during RedirectToAction

Vote count: 0 I've used below snippet to redirect user to different action/views based on selected contract type: public ActionResult Create(ContractViewModelCreate contract) { if (ModelState.IsValid) { if (contract.ContractType == Contract.ContractTypeENUM.SectionBased) retu RedirectToAction("Create", "SectionBasedContract", new { area = "Admin" }); else if (contract.ContractType == Contract.ContractTypeENUM.UnitBased) retu RedirectToAction("Create", "UnitBasedContract", new { area = "Admin" }); else retu new HttpStatusCodeResult(HttpStatusCode.BadRequest); } Utils.AddErrorsString(ModelState, "Select project type"); retu View(contract); } However the first RedirectToAction leads to reading ...

ادامه مطلب

Stream internet radio (Shoutcast) on facebook page

Vote count: 0 I am looking for a player (app, code, whatever) that will stream my Shoutcast radio on page tab. It should show whats currently playing and playing next (which is provided by Shoutcast allready). asked 38 secs agoBigBrother2010 Let's block ads! بخوانید...

ادامه مطلب

ASP.NET Paypal Subscriptions Integration Example

Vote count: 0 I am coding a website in ASP.NET which will allow to subscribed users to access a section on my website, which should be very simple but i have no idea where to get started since i'm new to ASP.NET. I want a registered user to click the subscription button which will redirect him to paypal, once he subscribes/pay and it is a valid subscription, make his account subscribed -> give him access. Also, needs to know if the subscription has ended -> remove access to the user. First time doing this and i really need a good example which i can't seem to find and i am sure some of you have examples/good tips on this. asked 54 secs agoiamanoob Let's block ads! بخوانید...

ادامه مطلب

Angular2 calling ASP.NET Web API

Vote count: 0 I'm a total newbie to Angular/Angular2, and maybe I'm getting into too deep water.... but I'm trying to display the result from a Web API controller using angular... So far I have: boot.ts: import {bootstrap} from 'angular2/platform/browser' import {HTTP_PROVIDERS} from 'angular2/http' import {AppComponent} from './app' bootstrap(AppComponent, [HTTP_PROVIDERS]); app.ts: import {Component} from 'angular2/core'; import {Http} from 'angular2/http'; @Component({ selector: 'my-app', template: '{{title}}' }) export class AppComponent { http: Http; public title; constructor(http: Http) { this.title = 'Loading list'; this.http = http; } } index.html: Angular 2 with ASP.NET 5 System.con...

ادامه مطلب

I have ZKfinger 7500 I want connect using with asp.net C# any SDK for it?

Vote count: 0 I want coect ZKFinger Device using with asp.net C# there any SDK or Example available? if yes then please share with me link or example. asked 1 min agochavda atul Let's block ads! بخوانید...

ادامه مطلب

Netbeans Create Standalone Jar

Vote count: 0 I have an application with two libraries that are being used from the javaextensions folder. I would like this jar file be be ruable from any computer such as a computer without netbeans. What is the best way to create this jar? I have read some tutorials but they don't seem to answer my question. asked 2 mins agobfrancis Let's block ads! بخوانید...

ادامه مطلب

ASP.Net MVC: How to force user to select any checkbox by data annotation

Vote count: 0 i have showing many checkboxes for hobbies property in view model but i like to attach ValidationMessageFor as a result user should be force to select any one checkbox out of many. so here is model & viewmodel public class Hobby { public string Name { get; set; } public bool IsSelected { get; set; } } public class SampleViewModel { [Required(ErrorMessage = "Select any Hobbies")] public List Hobbies { get; set; } } action method code public ActionResult Index() { var SampleVM = new SampleViewModel(); SampleVM.Hobbies = new List() { new Hobby(){ Name = "Reading", IsSelected= false }, new Hobby(){ Name = "Sports" ,IsSelected= false}, new Hobby(){ Name = "Movies" ,IsSelected= false...

ادامه مطلب

All test examples converge to one embedding point with siamese network model which is trained with cifar10 model definition

Vote count: 0 I'm tring to lea siamese network model for cifar10 data. I built paired data using cifar10 data and trained with revised cifar10 model definition (original: https://github.com/ycyoon/caffe/blob/master/examples/cifar10/cifar10_full_train_test.prototxt) for siamese network. I just appended feat layers for 2D embedding and changed weight filler from gausian to xavier. Here's the revised model definition name: "cifar10_siamese_train_test" layer { name: "pair_data" type: "Data" top: "pair_data" top: "sim" include { phase: TRAIN } transform_param { scale: 0.00390625 } data_param { source: "examples/siamese/mnist_siamese_train_leveldb/" batch_size: 64 } } layer { name: "pair_data" typ...

ادامه مطلب

Can't get legend to show up in saved chart (C#.NET, System.Windows.Controls.DataVisualization.Charting)

Vote count: 0 I'm generating a chart in my code, and displaying it on the screen, and it looks fine: a nice curve with X and Y axis labels. But when I go to save it as an image, the labels and title are blacked out. Here's the xaml for the chart... And the save image method: private void buttonSaveImage_Click(object sender, RoutedEventArgs e) { int width = (int)ML100SampleGrid.ActualWidth; int height = (int)ML100SampleGrid.ActualHeight; double printScale = 96; // pixels per inch // RenderTargetBitmap/Render renders the GUI element in the context of the parent control. // The area of the parent control that is not the desired element is masked in black pixels. // We render the chart inside th...

ادامه مطلب

Access to the path 'C:WebSite1' is denied while downloaing and after uploading file/image file name is showing up in gridview in asp.net

Vote count: 0 Access to the path 'C:WebSite1' is denied while downloaing and after uploading file/image file name is showing up in gridview in asp.net using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.Odbc; using System.Data; using System.Configuration; using System.IO; public partial class Default2 : System.Web.UI.Page { OdbcCoection co= new OdbcCoection(ConfigurationManager...

ادامه مطلب

Checking for internet connectivity in java

Vote count: 0 I have java code using which i am downloading mails from Outlook Exchange Server. The problem i am facing is: If inteet coection is down, the program execution stops. I want the code to check for inteet coectivity until the coection is available. I don't want the execution to stop if inteet is discoected. Few solutions for checking inteet coectivity are there on stack overflow, but if i use those solution, after some time i get stackoverflow error. Any help will be greatly appreciated. asked 1 min agosourabh pandey Let's block ads! بخوانید...

ادامه مطلب

how to delete rows in a dynamically created datagridview vb.net

Vote count: 0 i'm trying to delete rows in a datagridview that will be dynamically created, i used this code but it's not working (dgv is not a member of...) the datagridviews are created as follow: If ComboBox1.Text = "Excel" Then Static Dim cmd As String Using fold As New OpenFileDialog fold.Filter = "sheet files (*.xls)|*.xls|All files (*.*)|*.*" fold.Title = "Select file" If fold.ShowDialog() = Windows.Forms.DialogResult.OK Then fold.RestoreDirectory = True cmd = fold.FileName End If End Using Try Static Dim MyCoection As System.Data.OleDb.OleDbCoection Dim Dataset As System.Data.DataSet Static Dim MyCommand As System.Data.OleDb.OleDbDataAdapter Dim shlist As ArrayList = getExcelSheetsNa...

ادامه مطلب

ASP.NET MVC 5 Razor Forms Authentication LoginURL

Vote count: 0 Apologies in advance if I can't explain this very clearly. I am using forms authentication in my MVC Razor application. I have the following in my Web.Config: Techincally this works fine. The issue I am having is that my application is split into a Header.cshtml that never changes, and then a content area that changes based on the button clicked in the header. If the session has timed out the application writes the Login.cshtml to the content area, instead of the whole page. In my WebForms application with frames simply adding the following to the login page: if (parent.frames.length > 0) { parent.location.href = self.document.location; } took care of the issue. Does anyone kno...

ادامه مطلب

asp.net + linux + kestrel is mature and stable enough for production

Vote count: 0 Is asp.net and kestrel on linux mature enough for production applications? What about stability, speed of this solution (compared with node.js)? I like the option that asp could run on Windows, Linux, Mac. But is it production ready now or only a "nice toy". asked 3 mins agoMyth Rush Let's block ads! بخوانید...

ادامه مطلب

R.Net - After disposing of the R engine, we cannot reinitialize nor reuse it

Vote count: 0 I am creating a web application and calling r file through R.NET. The issue is if we use engine.dispose(), the next time we run the application it throws error as "Engine is shutdown, caot restart it" The code works fine if I do not dispose engine, but it consumes lot of memory on multiple executions. Sample code below: REngine.SetEnvironmentVariables(); REngine engine = REngine.GetInstance(); engine.Evaluate("//Some code here or calling exteal r file //"); engine.dispose(); Thanks, Prajwal Dsilva asked 1 min agoprajwal1211 Let's block ads! بخوانید...

ادامه مطلب

xcode swift take value of internet (Currency)

Vote count: 0 I have tried to make my own currency converter from USD to SEK With the import taxes rates to Sweden but I have no clue how to take a value from a website. I have tried to find it on my own but I can't really find anything so I´m hopping anyone here could help me with this? This is how far I have built the app. import UIKit class ImportSkattViewController: UIViewController { @IBOutlet weak var textfield: UITextField! @IBOutlet weak var svar: UILabel! override func viewDidLoad() { super.viewDidLoad() textfield.keyboardType = UIKeyboardType.DecimalPad let tap: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: "dismissKeyboard") view.addGestureRecognizer(tap) /...

ادامه مطلب

Is there a version of azure Mobile authentication useable in aps.net (wo azure)

Vote count: 0 azure mobile services offers a nice authorization / authentication framework. On a client I can simply use something like user = await App.MobileService .LoginAsync(MobileServiceAuthenticationProvider.Facebook); to login to my backend. As Microsoft writes in azure documentation this is a "...tukey solution...". Is there a "non azure" implementation of this available? My goal - enhance an existing ASP.NET MVC 5 site with the ability for "non web" (Xamarin and UWP) clients to login and use WEB Api calls and SignalR with authentication. asked 1 min agoMaiAT Let's block ads! بخوانید...

ادامه مطلب

Arcgis .NET Runtime WFS layer from Geoserver

Vote count: 0 does Arcgis .net runtime include any classes to load data from WFS and display it as a layer? I have been reading documentation and caot find any WFS support. FeatureLayer seems to work only with arcgis servers. My current solution: Request Geoserver -> parse gml -> display it as GraphisLayer filled with SimpleMarkerSymbol. I dont think its optimal, is there any better way of doing this? Thanks for info. asked 4 mins agoEvžen Horvat Let's block ads! بخوانید...

ادامه مطلب

How to Netwok SQL Database using VB.Net

Vote count: 0 I created exam generator which generates exam and it also saves the result. What i aim is to have one database even if we use a lot of unit and I want to network the exam how can I be able to? asked 1 min agoYale This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب