Microsoft Exchange : The WinRM client sent a request to the remote WS-Management service and was notified that the request size exceeded the configured MaxEnvelopeSize quota

—————————
Microsoft Exchange
—————————
Starting a command on remote server failed with the following error message : The WinRM client sent a request to the remote WS-Management service and was notified that the request size exceeded the configured MaxEnvelopeSize quota. For more information, see the about_Remote_Troubleshooting Help topic.
—————————
OK
—————————

FIX: http://wgsnetman.blogspot.com/2012/12/exchange-2010-um-and-wmf-30.html

C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\PowerShell

<OperationsConfiguration MaxOperationTimeoutSeconds=”900″ MaxShellIdleTimeoutMinutes=”15″ MaxEnvelopeSizeKB=”8192″/>

 

 

Categories: Exchange 2010, Microsoft

Setup has detected that Visual Studio 2015 Update 3 may not be completely installed. Please repair Visual Studio 2015 Update 3, then install this product again.

23/07/2016 2 comments

Open a elevated comand prompt and run

“DotNetCore.1.0.0-VS2015Tools.Preview2 (1).exe” SKIP_VSU_CHECK=1

If you get

Setup has detected that Visual Studio 2015 Update 3 may not be completely installed. Please repair Visual Studio 2015 Update 3, then install this product again.

Categories: Programming, Visual Studio

Error NU1006 Dependencies in project.json were modified. Please run "dnu restore" to generate a new lock file.

right click on the references and select "Restore Packages"

Categories: ASP.NET, Visual Studio

ASP.NET Core – 2016

ASP.NET 5 is no longer based on System.Web.dll, but is instead based on a set of granular and well factored NuGet packages allowing you to optimize your app to have just what you need. You can reduce the surface area of your application to improve security, reduce your servicing burden and also to improve performance in a true pay-for-what-you-use model.

 

ASP.NET 5 is built with the needs of modern Web applications in mind, including a unified story for building Web UI and Web APIs that integrate with today’s modern client-side frameworks and development workflows. ASP.NET 5 is also built to be cloud-ready by introducing environment-based configuration and by providing built-in dependency injection support.

 

In summary, with ASP.NET 5 you gain the following foundational improvements:

New light-weight and modular HTTP request pipeline
Ability to host on IIS or self-host in your own process
Built on .NET Core, which supports true side-by-side app versioning
Ships entirely as NuGet packages
Integrated support for creating and using NuGet packages
Single aligned web stack for Web UI and Web APIs
Cloud-ready environment-based configuration
Built-in support for dependency injection
New tooling that simplifies modern web development
Build and run cross-platform ASP.NET apps on Windows, Mac and Linux
Open source and community focused

 

ASP.NET 5 applications are built and run using the new .NET Execution Environment (DNX). Every ASP.NET 5 project is a DNX project. ASP.NET 5 integrates with DNX through the ASP.NET Application Hosting package.

ASP.NET 5 applications are defined using a public Startup class:

public class Startup
{
     public void ConfigureServices(IServiceCollection services)
     {
     }

     public void Configure(IApplicationBuilder app)
     {
     }

     public static void Main(string[] args) => WebApplication.Run<Startup>(args);
}
 

The ConfigureServices method defines the services used by your application and the Configure method is used to define what middleware makes up your request pipeline. See Understanding ASP.NET 5 Web Apps for more details.

Services

A service is a component that is intended for common consumption in an application. Services are made available through dependency injection. ASP.NET 5 includes a simple built-in inversion of control (IoC) container that supports constructor injection by default, but can be easily replaced with your IoC container of choice. See Dependency Injection for more details.

Services in ASP.NET 5 come in three varieties: singleton, scoped and transient. Transient services are created each time they’re requested from the container. Scoped services are created only if they don’t already exist in the current scope. For Web applications, a container scope is created for each request, so you can think of scoped services as per request. Singleton services are only ever created once.

Middleware

In ASP.NET 5 you compose your request pipeline using Middleware. ASP.NET 5 middleware perform asynchronous logic on an HttpContext and then optionally invoke the next middleware in the sequence or terminate the request directly. You generally “Use” middleware by invoking a corresponding extension method on the IApplicationBuilder in your Configure method.

ASP.NET 5 comes with a rich set of prebuilt middleware:

Working with Static Files
Routing
Diagnostics
Authentication
You can also author your own custom middleware.

You can use any OWIN-based middleware with ASP.NET 5. See OWIN for details.

Servers

The ASP.NET Application Hosting model does not directly listen for requests, but instead relies on an HTTP server implementation to surface the request to the application as a set of feature interfaces that can be composed into an HttpContext.

ASP.NET 5 includes server support for running on IIS or self-hosting in your own process. On Windows you can host your application outside of IIS using the WebListener server, which is based on HTTP.sys. You can also host your application on a non-Windows environment using the cross-platform Kestrel web server.

Web root

The Web root of your application is the root location in your project from which HTTP requests are handled (ex. handling of static file requests). The Web root of an ASP.NET 5 application is configured using the “webroot” property in your project.json file.

Configuration

ASP.NET 5 uses a new configuration model for handling of simple name-value pairs that is not based on System.Configuration or web.config. This new configuration model pulls from an ordered set of configuration providers. The built-in configuration providers support a variety of file formats (XML, JSON, INI) and also environment variables to enable environment-based configuration. You can also write your own custom configuration providers. Environments, like Development and Production, are a first-class notion in ASP.NET 5 and can also be set up using environment variables:

  var builder = new ConfigurationBuilder()
    .AddJsonFile("appsettings.json")
    .AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true);

if (env.IsDevelopment())
{
    // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
    builder.AddUserSecrets();
}

builder.AddEnvironmentVariables();
Configuration = builder.Build();
 

See Configuration for more details on the new configuration system and Working with Multiple Environments for details on how to work with environments in ASP.NET 5.

Client-side development¶ASP.NET 5 is designed to integrate seamlessly with a variety of client-side frameworks, including AngularJS, KnockoutJS and Bootstrap. See Client-Side Development for more details

 

https://docs.asp.net/en/latest/conceptual-overview/aspnet.html

Categories: ASP.NET

Android is not backward compatible

Newer releases from Google do not have an upgrade path for older older phones running older versions of  Android , mainly because Google only has
a model phone nexus they work with and the other phone manufactures are supposed to provide an upgrade path.

How long will this delivery model continue ?

Basically older phones work and some phone don’t just go out and buy a new phone each year when the older one just works fine.

Phone manufacturers don’t usually expect Apple (which is doing it the correct way) don’t have any intention of supporting new version of Android on their older phones.

Security wise this is a major screw up for Android which cannot be termed as a platform with this factor.

Main reason being the lack of resources from Google and Phone Manufactures who make billion out of the Phone but do not care about security and keeping
the consumer safe. (Would you buy a unsafe car?

Microsoft Download Center Old Orginal Actual Link

Categories: Programming

Running jar files that need JDK – Windows 8 / 10

First you need a JDK installed.

Then you need to set JAVA_HOME to the JDK folder

FROM: Using command prompt, navigate to the directory where you downloaded the installation program.

TO :     Using command prompt, navigate to the directory where you downloaded the installation program or %JAVA_HOME%\bin

AND
changing step # 4’s For Example : …

FROM: ” \home\Oracle\jdk7_15\jdk1.7.0_15\bin\java -jar jdev_suite_121200.jar

TO :        Downloads>   “C:\Program Files\Java\jdk1.7.0_40\bin\java”  -jar      jdev_suite_121200.jar
Or…
bin>               java   -jar    C:\Users\user\Downloads\jdev_suite_121200.jar

Categories: Oracle, Programming
Follow

Get every new post delivered to your Inbox.