Because of my considerable community involvement in promoting C# scripting (i.e. here or here), I thought the other day, why not attempt to run C# scripts using DNX? While out of the box, DNX only compiles proper, traditional C# only, thanks to the compilation hooks it exposes, it is possible to intercept the compilation object […]
Hello and Welcome again to the fourth part of the series. Till now we have created Weather.Common (Building your first end-to-end Cross Platform app) and Weather.Windows Building your first end-to-end Cross Platform app – Part 2 – Windows Universal App) . and a Weather.Android (Building your first end-to-end Cross Platform app – Part 3 – [...]
While studying an issue using customer data, I noticed that indexing speed wasn’t up to what I expected it to be. In fact, the size of the indexing batch remained roughly constant (and small), and didn’t exhibit the usual increases as RavenDB notices that the server has a lot of work to do and the resources to do it. This was while investigating something else, but since I had to re-index that database quite a few time, I decided to investigate what was going on. The underlying issue turned out to be a configuration setup. An index was specified with
a MaxNumberOfOutputsPerDocument of 55. We use this value for a few things, among them to ensure to manage the memory resulting from indexing operations. In particular, we have had some issues with indexes that output a large number of index entries per documents using more then the quota allocated to the index and generating (sometime severe) memory pressure. Unfortunately, in this case, we had the other option. The index was configured properly, but the index didn’t actually output multiple entries. So we ended up assuming that the index would generate a lot more memory than it would actually really...(Read whole news on source site)
Microsoft's 'Project Sonar' service, which analyzes millions of potential exploit and malware samples in virtual machines, may be available to users outside the company in the not-too-distant future.
Who doesn’t want to be productive? Everyone, right? And this accelerates when you know some most useful keyboard shortcuts. Windows 10
specifies few new keyboard shortcuts along with existing shortcuts which were available for a long time. Using these keyboard shortcuts, you can improve your day-2-day activities. In this post, I am sharing the Windows 10 keyboard shortcuts along with the descriptions of each key combination. If I missed any, let me know so that, I can update this post for future references.
Don’t forget to bookmark this page as it lists most of the common and
important keyboard shortcuts available in Windows 10. I refrained from mentioning shortcuts like Cut, Copy, Paste etc. as those will not give any additional value. Please find below the shortcut key combinations as well as the description of them, listed in a tabular form:
Key Combinations Description of Key Combinations
Win Open/Close the...(Read whole news on source site)
This is part two of a series of posts on interception in .NET. You can find the first part here
.Interception TargetsThere are two possible targets for interception:
Types, such as classes or interfaces;
Instances of classes.
Depending on the target, we can use different interception techniques.Interception TechniquesIn .NET, like in other OOP languages, we have the following interception techniques:
Virtual method interception: this is a type interception technique by which we subclass dynamically a target type – an interface or a class, since structures do not allow subclassing – and add method overrides for the
methods we want to intercept. Of course, only virtual methods can be intercepted (abstract methods and interface methods are treated as virtual); the interceptor returns an instance of the dynamically generated subclass of the target type, which is treated exactly as if it were this target type;
Interface interception: an instance interception technique. There has to be an existing object for us to intercept, and it must implement one or more interfaces. We can intercept any method or property exposed by one of these interfaces; basically, the generated interceptor code sits between the exposed interface and the existing target;
SharePointalooza is a premier 2 day SharePoint and Office
365 conference taking place on September
18th and 19th in Branson, MO.
SharePointalooza offers technical workshops and sessions on everything
SharePoint and Office 365 related including: Development, Administration,
Branding, Search, Social, Architecture, BI and End User.
Why Attend SharePointalooza?There are a lot of reasons
to attend SharePointalooza. Please allow us to take a few moments to tell you:
SharePointalooza starts at just $50
!! The same speakers and the
same content that normally costs up to $2000 can be yours for a tiny fraction
of the price. In fact, right now you can save 50%
normal registration cost by using the following link: https://sharepointalooza.eventbrite.com/?discount=ALUMNI
being held at the Hilton Convention Center on Branson Landing. You can book
your rooms at the Hilton using the following link: http://www3.hilton.com/en/hotels/missouri/hilton-branson-convention-center-HROBCHH/index.html
In addition you can save
even more money by booking a room at the Best Western Inn just a few block away
from the venue. With room rates starting at just $92
really is no better value for your training budget! Call Best Western today and
ask for the SharePointalooza rate: (417) 334-6464
This is a recent case. One of our customers complained that every now and then they started to see very high memory utilization, escalating quickly until the system would bog down and die. They were able to deploy a mitigation strategy of a sort, when they detected this behavioral pattern, they would force RavenDB to reject client requests for a short while, which would fix this issue.
This went on for a while, because the behavior was utterly random. It didn’t seem to relate to load, peek usage time on the system didn’t correlate to this in any way.
Eventually the customer raised another issue, that a certain spatial query was behaving very slowly in the logs. We tested that, and we found that the customer was correct. More properly, the query executed just fine when run independently. But when we run this query tens or hundreds of times concurrently, we will see very high response times (and getting worse), and we would see the server memory just blowing up very quickly. So we have a memory leak, we figured out, let us see what is going on… We dumped the data, and tried to figure out what it...(Read whole news on source site)
Containers in software terminology is a lightweight virtual environment that groups and isolates a set of processes and resources such as memory, CPU, disk etc. from the host and any other containers. They include the application and all of its dependencies, but share the kernel with the other containers. One huge benefit of containers are that they are not tied to any specific infrastructure. The below diagram depicts docker containers on an infrastructure.
Containers help developers create and test applications in their local environment and later containerize the application, which creates a docker image with the
app and the components required to run the app which is later used to create a container in an environment which is needed to host the container.
Because the container has everything it needs to run your application, they are very portable and can run on any machine that is running Windows Server 2016. You can create and test containers locally, then deploy that same container image to your company's private cloud, public cloud or service provider. The natural agility of Containers supports modern app development patterns in large scale, virtualized and cloud environments.